cURL
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>", "password": "<string>", "active": true } '
{ "username": "<string>", "role": "admin", "user_email": "<string>", "id": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "added_by_uid": 123, "updated_by_uid": 123, "active": true, "group_id": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
admin
user
readonly
Successful Response