ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Change user name

Deprecated: use user service v2 UpdateUser instead.

Change the username of the user. Be aware that the user has to log in with the newly added username afterward.

PUT
/users/{user_id}/username

Path Parameters

user_id*string

Request Body

application/json

userName*string
[key: string]?never

Response Body

application/json

curl -X PUT "https://loading/users/string/username" \  -H "Content-Type: application/json" \  -d '{    "userName": "string"  }'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?