PUT
/
v2
/
whoami
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
first_name
string
required
last_name
string
required
is_onboarded
boolean
required

Response

200 - application/json
Successful response
id
integer
username
string
first_name
string
last_name
string
email
string
permission_groups
string[]
is_onboarded
boolean