Skip to main content

Delete User (SCIM)

Delete or deactivate a user using SCIM 2.0 protocol.

Endpoint

DELETE /scim/v2/Users/{user_id}

Headers

HeaderRequiredDescription
AuthorizationYesBearer <scim_bearer_token>

Path Parameters

ParameterTypeRequiredDescription
user_idstringYesUser ID

Response

Success (204)

No content - user successfully deleted/deactivated.

Error (404)

{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],
"detail": "User not found",
"status": "404",
"scimType": "uniqueness"
}

Features

  • SCIM 2.0 compliant
  • Permanently deletes or deactivates the user
  • User must belong to the organization associated with the bearer token

Example

curl -X DELETE "https://api.rivergen.com/scim/v2/Users/123" \
-H "Authorization: Bearer <scim_bearer_token>"