Skip to Content
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
/management/v1/users/{user_id}/username

Path Parameters

user_id*user_id

Request Body

application/json
  1. body
userName*user_name

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X PUT 'https://example.com/management/v1/users/string/username' \  -H 'Content-Type: application/json' \  -d '{  "userName": "string"}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?