Delete organization memberships
Deletes one or more organization memberships. Currently unavailable in self-hosted ECE.
Path parameters
-
Identifier for the Organization
-
CSV list of User identifiers
Query parameters
-
force boolean
Whether or not to force the removal of Org memberships (effective only for Platform Admins)
Default value is
false
.
DELETE /organizations/{organization_id}/members/{user_ids}
curl \
-X DELETE https://{{hostname}}/api/v1/organizations/{organization_id}/members/{user_ids}
Response examples (200)
{}
Response examples (404)
# Headers
x-cloud-error-codes: user.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}