User

Update current user profile

Updates the profile information for the authenticated user.

patch/v2/user/profile

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v2/user/profile
  • Auth: HTTP bearer

Request body

namestring

User display name

usernamestring

User username

descriptionstring

User bio/description

userPortraitstring uri nullable

URL to user portrait image

Example request

{
  "name": "John Doe",
  "username": "johndoe"
}

Response

Updated profile information

Example response

{
  "value": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "John Doe",
    "username": "johndoe",
    "email": "john@example.com",
    "emailIsVerified": true,
    "avatarColor": "#3B82F6",
    "ownedOrganizations": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "name": "zephyr-cloud",
        "displayName": "Zephyr Cloud"
      }
    ]
  }
}

Changes

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