Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

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*user_id

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/v2/users/string/unlock'
Example Response200
{  "details": {    "sequence": 0,    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string",    "creationDate": "2023-01-15T01:30:15.01Z"  }}

Was this page helpful?