Documentation Index

Fetch the complete documentation index at: https://learn.servitly.com/llms.txt

Use this file to discover all available pages before exploring further.

Delete a user by id

Prev Next
Delete
/identity/users/{userId}

Deletes the user associated with a given id.
The operation is permanent and the user immediately loses access to the DPS. To temporarily suspend an account instead of removing it, update its status through the user update API.

Required permissions: READ_USER, WRITE_USER.

Security
HTTP
Type bearer
Header parameters
X-Servitly-Tenant
stringRequired

The name of the tenant (e.g. acme).

Path parameters
userId
stringRequired

The id of the user to delete.

Minimum1.0
Exampleabcd1234
Responses
204

Successfully deleted.

401

User not authenticated.

object
message
string

The error response.

ExampleUser not authenticated
403

User not authorized.

object
message
string

The error response.

ExampleUser not authorized
404

Resource was not found.

object
message
string

The error response.

ExampleResource not found
429

API call rate limit exceeded.

object
message
string

The error response.

ExampleAPI call rate limit exceeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error