DELETE
/scim/v2/Users/{userId}

Delete an existing SCIM User, using a valid access key.

This API endpoint allows administrators to delete an existing SCIM user from the Descope tenant.

It is important to note the bearer token for SCIM API endpoints. The format is ProjectId:AccessKey the access key must be associated with the applicable tenant and associated with the tenant admin role.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:AccessKey\>

Try it

/scim/v2/Users/{userId}

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Access Key > as bearer

In: header

Path Parameters

userId
Required
string

Query Parameters

displayNamestring

The following values are manipulated by the marshaler in httpgateway/marshaler.go in case of changing or adding new ones, need to edit the marshaler as well

activeboolean

name.givenNamestring

name.familyNamestring

name.middleNamestring

userNamestring

Status codeDescription
200OK
curl -X DELETE "https://api.descope.com/scim/v2/Users/{userId}" \
  -H "Authorization: Bearer <ProjectId:AccessKey>"
Was this helpful?