Removes an EIAM account from one or more EIAM organizational units. The operation succeeds even if the account is not in the specified organizational units.
Try it now
Test
RAM authorization
Request syntax
POST /v2/{instanceId}/{applicationId}/users/{userId}/actions/removeUserFromOrganizationalUnits HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| applicationId |
string |
Yes |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| userId |
string |
Yes |
The account ID. |
user_d6sbsuumeta4h66ec3il7yxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Authorization |
string |
Yes |
The authorization credential for the request. Format: Bearer ${access_token}. Example: Bearer ATxxxx. |
Bearer xxxx |
| body |
object |
No |
The request body. |
|
| organizationalUnitIds |
array |
Yes |
The organizational unit IDs. |
[ou_wovwffm62xifdziem7an7xxxxx] |
|
string |
No |
The organizational unit ID. |
ou_wovwffm62xifdziem7an7xxxxx |
Response elements
|
Element |
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.