cURL
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>" ] } '
{}
Store a newly created user (admin only).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
255
"b"
"[email protected]"
8
"-0pBNvYgxw"
"a"
"y"
User created
The response is of type object.
object