cURL
curl --request PUT \ --url https://api.example.com/users/current \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "", "first_name": "", "last_name": "", "phone": "", "description": "" } '
{ "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>
Successful Response
admin
viewer
editor
remote_user
partner