Remove Groups From Organization By Organization Id And Groups Id Using DELETE
Remove groups from organization.
Note:
- Removing an organization custom group permanently deletes the group.
- DEPRECATED: Response field failed will be deprecated. You can use the field failures instead.
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Unique identifier (GUID) of the organization.
"RemoveGroupsFromOrgRequest Object"
Identifiers of the members that will be removed from the organization.
Publish email notification to group members.
OK
{
"failed": [
"string"
],
"succeeded": [
"string"
],
"failures": [
{
"message": "string",
"id": "string",
"errorCode": "string"
}
]
}
The entities for which the operation failed.
The entities for which the operation is successful.
The entities for which the operation fails with the reason of failure.
The user is not authorized to use the API
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user is forbidden to use the API
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
Organization with this identifier is not found. | Groups [...] not found
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
An unexpected error has occurred while processing the request
"CspErrorResponse Object"
cspErrorCode
message
errorCode
requestId
moduleCode
statusCode
curl -X DELETE -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/groups