Remove Organization Structures¶
Remove an organization structure of the user without logging in to Application Portal.
Operation Permissions¶
In Application Portal, the application must be granted the “Authorize users in this OU” permission.
Request Parameters (Body)¶
Name | Mandatory/Optional | Data Type | Description |
---|---|---|---|
organizationId | Mandatory | String | The organization ID. How to get organizationld>> |
userId | Mandatory | String | The user ID. |
structureIds | Mandatory | List | The ID of the organization structure to remove for the user. |
Response Parameters¶
Name | Data Type | Description |
---|---|---|
data | Boolean | true indicates that the removal was successful, false indicates that the removal failed. |
Error Codes¶
Code | Description |
---|---|
31400 | Errors such as incorrect parameters, empty parameters, character limits exceeded, and so on. |
31403 | The application has not been granted the “Authorize users in this OU” permission. |
31404 | Organization not found. |