Skip to main content

Update a user

PUT 

<your-unleash-url>/api/admin/user-admin/:id

Only the explicitly specified fields get updated.

Request

Responses

createUserResponseSchema

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L -X PUT '<your-unleash-url>/api/admin/user-admin/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"email": "user@example.com",
"name": "Sam Seawright",
"rootRole": 1
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
Body required
{
  "email": "user@example.com",
  "name": "Sam Seawright",
  "rootRole": 1
}
ResponseClear

Click the Send API Request button above and see the response here!