Skip to main content
PATCH
/
v1
/
users
/
profile
Update Profile
curl --request PATCH \
  --url https://api.example.com/v1/users/profile \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "display_name": "<string>",
  "bio": "<string>",
  "website_url": "<string>",
  "linkedin_url": "<string>",
  "twitter_url": "<string>"
}
'
{
  "id": "<string>",
  "email": "<string>",
  "username": "<string>",
  "display_name": "<string>",
  "github_username": "<string>",
  "joined_at": "<string>",
  "bio": "<string>",
  "website_url": "<string>",
  "linkedin_url": "<string>",
  "twitter_url": "<string>",
  "avatar_url": "<string>",
  "username_suggestion": "<string>"
}

Body

application/json

Request body for profile updates.

username
string | null
display_name
string | null
bio
string | null
website_url
string | null
linkedin_url
string | null
twitter_url
string | null

Response

Successful Response

Response body for profile endpoints.

id
string
required
email
string
required
username
string | null
display_name
string | null
github_username
string | null
joined_at
string | null
bio
string | null
website_url
string | null
linkedin_url
string | null
twitter_url
string | null
avatar_url
string | null
username_suggestion
string | null