Removes an EIAM account from one or more EIAM organizations. This operation succeeds even if the account is not a member of the specified organizations.
Try it now
Test
RAM authorization
Request syntax
POST /v2/{instanceId}/{applicationId}/users/{userId}/actions/removeUserFromOrganizationalUnits HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Authorization |
string |
Yes |
The authentication information. Format: Bearer ${access_token}. Example: Bearer ATxxxx. |
Bearer xxxx |
| instanceId |
string |
Yes |
The ID of the instance. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| applicationId |
string |
Yes |
The ID of the application. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| userId |
string |
Yes |
The ID of the account. |
user_d6sbsuumeta4h66ec3il7yxxxx |
| body |
object |
No |
The request body. |
|
| organizationalUnitIds |
array |
Yes |
The list of organization IDs. |
[ou_wovwffm62xifdziem7an7xxxxx] |
|
string |
No |
The ID of the organization. |
ou_wovwffm62xifdziem7an7xxxxx |
Response parameters
|
Parameter |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.