Skip to main content
POST
/
v1
/
users
Create user
curl --request POST \
  --url https://{tenant}.torchapp.com.au/api/v1/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "b",
  "email": "[email protected]",
  "password": "-0pBNvYgxw",
  "title": "a",
  "azure_id": "y",
  "roles": [
    "<string>"
  ]
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Maximum string length: 255
Example:

"b"

email
string<email>
required
Maximum string length: 255
password
string
required
Minimum string length: 8
Example:

"-0pBNvYgxw"

title
string
Maximum string length: 255
Example:

"a"

azure_id
string
Maximum string length: 255
Example:

"y"

roles
string[]

Response

User created

The response is of type object.