Update a user

Updates the fields you send and leaves the others unchanged. You can write email, first_name, last_name and your marketplace's custom user fields, as listed by GET /api/admin/definitions/users. If fields contains any other key, nothing is saved and the request fails with 422. Roles cannot be changed here; use the role endpoints instead.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

User ID.

Body Params

Update a user

fields
object
required

The fields to change, as a JSON object that maps field IDs to new values, for example {"first_name": "Ada"}. Custom fields also accept their ID without the _user suffix.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json