User Profile

Update Profile

Update the authenticated user's profile fields.

put/api/v1/user

Request

  • Base URL: https://www.endlesstravelplans.com
  • URL: https://www.endlesstravelplans.com/api/v1/user
  • Auth: HTTP bearer

Request body

first_namestring
last_namestring
phonestring nullable
biostring nullable
preferred_languagestring nullable
timezonestring nullable

Example request

{
  "first_name": "Jane",
  "last_name": "Smith",
  "phone": "+1234567890",
  "bio": "Travel enthusiast",
  "preferred_language": "en",
  "timezone": "America/New_York"
}

Response

Example response

{
  "user": {
    "first_name": "Jane",
    "email": "john@example.com"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.