Home / API Documentation / Platform management / Users / Users / Update the user's display name and password

*Update the user's display name and password

Requests

HTTP request

PATCH /auth/v1/users/{name}

modify user's password and display-name

Request body

Content-Type application/json

Sample request

Patch UserBody

{
   "spec": {
     "old_password": "MTIzNDU2Cg==",
     "password": "MTIzNDU2Cg=="
   }
 }

Parmeters

Name Type Required Description
spec object True Patch UserBody Spec
Path: spec
spec.old_password string True
Path: spec.old_password
spec.password string True
Path: spec.password

Responses

Content-Type application/json

Other status codes

Status code: 201

OK