PUT
/
user
cURL
curl --request PUT \
  --url https://api.axiom.co/v2/user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "John Smith"
}'
{
  "email": "john.doe@example.com",
  "id": "usr_123456789",
  "name": "John Doe",
  "role": {
    "id": "role_123456789",
    "name": "Organization Admin"
  }
}
Using this endpoint, you can update your own user. Authorize the request with a personal access token (PAT).You can’t update other users with this endpoint, and you can’t use an API token to authorize the request.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Object representing a user update request

Response

200 - application/json

User

Represents a user in the system