Delete organization memberships
Deletes one or more organization memberships. Currently unavailable in self-hosted ECE.
Path parameters
-
organization_id
string Required Identifier for the Organization
-
user_ids
string Required 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 \
--request 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"
]
}
]
}