Create user
Adds a user to the organization with the given role and sends them an invite email. If the email address already belongs to an Axiom account, Axiom keeps its existing name. API tokens can't assign the owner role.
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
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
200Added user.400Invalid email address, the user is already a member, or the organization has reached its user limit.
403Insufficient permissions, or the caller isn't allowed to assign the `owner` role.
404Role not found.| 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 |