Remove Clients From Organization By Organization Id Using DELETE
Remove OAuth clients from organization
Access Policy
Role | User Accounts | Service Accounts (Client Credentials Applications) |
---|---|---|
Organization Admin | ✔️ | ✔️ |
Organization Owner | ✔️ | ✔️ |
Developer | ✔️ | ✔️ |
Unique identifier (GUID) of the organization.
Show optional properties
{
"ids": [
{}
]
}
{
"ids": [
"string"
]
}
Identifiers of the members that will be removed from the organization.
OK
"PartialSuccessResponseString Object"
The entities for which the operation failed.
The entities for which the operation is successful.
The user is not authorized to use the API
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user is forbidden to use the API
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
Organization with this identifier is not found. | Clients [...] not found
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
The user has sent too many requests
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
An unexpected error has occurred while processing the request
"CspErrorResponse Object"
cspErrorCode
errorCode
message
moduleCode
requestId
statusCode
curl -X DELETE -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"ids":["string"]}' https://{api_host}/csp/gateway/am/api/orgs/{orgId}/clients