POST
/
users
curl --request POST \
  --url https://api.axiom.co/v2/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "name": "<string>",
  "role": "<string>"
}'
{
  "email": "<string>",
  "id": "<string>",
  "name": "<string>",
  "role": {
    "id": "<string>",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
email
string
required
name
string
required
role
string
required

Response

200 - application/json
User
email
string
required
id
string
required
name
string
required
role
object
required