Create user
Create user
Body #
Object representing a new user creation request
application/json| Property | Type | Description |
|---|---|---|
email | stringRequired | Email address of the new user |
name | stringRequired | Full name of the new user |
role | stringRequired | Role to assign to the new user |
Request #
curl -X POST 'https://api.axiom.co/v2/users' \
-H 'Authorization: Bearer API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"email":"jane.doe@example.com","name":"Jane Doe","role":"member"}'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| Property | Type | Description |
|---|---|---|
email | stringRequired | User's email address |
id | stringRequired | Unique identifier for the user |
name | stringRequired | User's full name |
role | objectRequired | Detailed information about a user's role |
id | stringRequired | Unique identifier for the role |
name | stringRequired | Human-readable name of the role |