Atlas
Admin — Users

Delete user

Permanently deletes a user. Cannot delete yourself or the last admin.

DELETE
/api/v1/admin/users/{id}

Path Parameters

id*string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "http://localhost:3001/api/v1/admin/users/user_abc123"
{
  "success": true
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}