This API endpoint allows you to update the user information.
curl --request PUT \ --url https://api.app.fleetit.com/v2/whoami/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "first_name": "John", "last_name": "Doe", "is_onboarded": true }'
{ "id": 0, "username": "", "first_name": "John", "last_name": "Doe", "email": "", "permission_groups": [ "" ], "is_onboarded": true }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
The response is of type object.
object
Was this page helpful?