cURL
curl --request PUT \ --url https://api.example.com/tenant/{tenant_name}/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "data": { "email": "", "first_name": "", "last_name": "", "phone": "", "description": "", "password": "<string>", "role": "admin", "enabled": true, "password_is_expired": true, "is_remote_user": true } } '
{ "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>
Show child attributes
Successful Response
admin
viewer
editor
remote_user
partner