ZITADEL Docs
APIsCore ResourcesV2User

DeleteUser

Delete user

The state of the user will be changed to 'deleted'. The user will not be able to log in anymore. Endpoints requesting this user will return an error 'User not found..

DELETE
/v2/users/{user_id}

Path Parameters

user_id*string

Response Body

application/json

application/json

curl -X DELETE "https://loading/v2/users/string"
{
  "details": {
    "sequence": 0,
    "changeDate": "1s",
    "resourceOwner": "string",
    "creationDate": "1s"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?