Users
PUT /user
Changed onUpdates the name of the user who owns the personal access token (PAT) used to authenticate. API tokens aren't supported. The response doesn't include role.
Request
- Base URLhttps://api.axiom.co/v2
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "John Smith"
}Response
Updated user.
Example response
{
"email": "john.doe@example.com",
"id": "usr_123456789",
"name": "John Doe",
"role": {
"id": "role_123456789",
"name": "Organization Admin"
}
}Changes
- info
added the non-success response with the status
- info