Skip to main content
PUT
/
api
/
users
/
profile
cURL
curl --request PUT \
  --url https://api.production.hyperoru.com/api/users/profile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "username": "<string>"
}
'
{
  "id": 123,
  "is_active": true,
  "username": "<string>",
  "email": "<string>"
}

Authorizations

Authorization
string
header
required

Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.

Body

application/json
email
string | null
username
string | null

Response

Update current user profile

id
integer<int32>
required
is_active
boolean
required
username
string
required
email
string | null