User

Update user profile

Update the authenticated user's profile (username, avatar, preferences)

put/api/v1/user/profile

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

avatar_urlstring
preferencesobject
usernamestring

Example request

{
  "preferences": {
    "boolean_key": true,
    "number_key": 42,
    "string_key": "string_value"
  }
}

Response

Successful response

avatar_urlstring
emailstring
idstring
preferencesobject
usernamestring

Example response

{
  "preferences": {
    "boolean_key": true,
    "number_key": 42,
    "string_key": "string_value"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.