Users
GET /users/{id}
Changed onRetrieves a member of the organization by user ID, including their role.
Request
- Base URLhttps://api.axiom.co/v2
- AuthOAuth 2Authorization codehttps://accounts.google.com/o/oauth2/v2/authToken URLhttps://www.googleapis.com/oauth2/v4/tokenScopesusers|read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Response
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