Delete User (SCIM)
Delete or deactivate a user using SCIM 2.0 protocol.
Endpoint
DELETE /scim/v2/Users/{user_id}
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <scim_bearer_token> |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | User 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>"
Related Endpoints
- List Users - List all users
- Create User - Create new user