ZITADEL Docs
APIsCore ResourcesV2User

UnlockUser

Unlock user

The state of the user will be changed to 'active'. The user will be able to log in again. The endpoint returns an error if the user is not in the state 'locked'.

POST
/v2/users/{user_id}/unlock

Path Parameters

user_id*string

Response Body

application/json

application/json

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

Was this page helpful?