Auth User Update

PATCH {{baseUrl}}/auth-users/:id

Use a PATCH request to update an existing user in the authentication system. Use this endpoint to modify these fields: * capabilities

A '400.1.1 Illegal update attempt' detail code indicates that you attempted to PATCH a field that is not allowed.

Request Body

{"0"=>{"op"=>"replace", "path"=>"/capabilities", "value"=>["ORG_ADMIN"]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"tenant":"test-tenant","id":"2c91808458ae7a4f0158b1bbf8af0628","uid":"will.smith","profile":"2c91808458ae7a4f0158b1bbf8af0756","identificationNumber":"19-5588452","email":"william.smith@example.com","phone":"5555555555","workPhone":"5555555555","personalEmail":"william.smith@example.com","firstname":"Will","lastname":"Smith","displayName":"Will Smith","alias":"will.smith","lastPasswordChangeDate":"2021-03-08T22:37:33.901Z","lastLoginTimestamp":1656327185832,"currentLoginTimestamp":1656327185832,"capabilities":["ORG_ADMIN","ORG_ADMIN"]}