ZITADEL Docs
APIsCore ResourcesV1Organization Objects

RemoveUser

Unlock User

Deprecated: use user service v2 DeleteUser instead.

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
/users/{id}

Path Parameters

id*string

Response Body

application/json

application/json

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

Was this page helpful?