POST
/
users
curl --request POST \
  --url https://example.com/api/users/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>",
  "role": "admin",
  "user_email": "<string>",
  "active": true,
  "password": "<string>"
}'
{
  "username": "<string>",
  "role": "admin",
  "user_email": "<string>",
  "active": true,
  "id": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "group_id": 123,
  "added_by_uid": 123,
  "updated_by_uid": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.