cURL
curl --request POST \ --url https://api.example.com/tenant/{tenant_name}/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "password": "<string>", "email": "<string>", "role": "admin", "first_name": "", "last_name": "", "phone": "", "description": "", "enabled": true, "password_is_expired": false, "is_remote_user": false, "partner_id": "<string>" } '
{ "id": "<string>", "username": "<string>", "email": "<string>", "enabled": true, "password_is_expired": true, "remaining_failed_attempts": 123, "first_name": "<string>", "last_name": "<string>", "phone": "<string>", "description": "<string>", "role": "admin", "is_remote_user": false }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
admin
viewer
editor
remote_user
partner
Successful Response