Skip to main content
PATCH
/
api
/
v1
/
auth
/
me
Update Me
curl --request PATCH \
  --url https://api.example.com/api/v1/auth/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "<string>",
  "robot_ip": "<string>"
}
'
{
  "id": 123,
  "name": "<string>",
  "is_admin": true,
  "is_playing": true,
  "robot_ip": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
password
string | null
robot_ip
string | null

Response

Successful Response

id
integer
required
name
string
required
is_admin
boolean
required
is_playing
boolean
required
robot_ip
string | null
required