Update current user

PUT/v2/user

Update current user

Body #

Object representing a user update request

application/json
PropertyTypeDescription
namestringRequiredNew name for the user

Request #

curl -X PUT 'https://api.axiom.co/v2/user' \
  -H 'Authorization: Bearer API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"name":"John Smith"}'
Try itRun this request against your Axiom organization

Credentials stay in this browser tab and are only sent to Axiom when you run the request.

Response #

200User
application/json
PropertyTypeDescription
emailstringRequiredUser's email address
idstringRequiredUnique identifier for the user
namestringRequiredUser's full name
roleobjectRequiredDetailed information about a user's role
idstringRequiredUnique identifier for the role
namestringRequiredHuman-readable name of the role