Skip to main content
PATCH
/
v1
/
users
/
profile
Update Profile
curl --request PATCH \
  --url https://api.agentpowers.ai/v1/users/profile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "display_name": "<string>",
  "bio": "<string>",
  "website_url": "<string>",
  "github_url": "<string>",
  "linkedin_url": "<string>",
  "twitter_url": "<string>"
}
'
{
  "id": "<string>",
  "email": "<string>",
  "display_name_slug": "<string>",
  "display_name": "<string>",
  "github_username": "<string>",
  "joined_at": "<string>",
  "bio": "<string>",
  "website_url": "<string>",
  "github_url": "<string>",
  "linkedin_url": "<string>",
  "twitter_url": "<string>",
  "avatar_url": "<string>",
  "account_status": "<string>",
  "deletion_scheduled_at": "<string>"
}

Authorizations

Authorization
string
header
required

Provide a Clerk JWT or a long-lived CLI token (prefix ap_cli_). Pass as Authorization: Bearer <token>.

Body

application/json

Request body for profile updates.

display_name
string | null
bio
string | null
Maximum string length: 2000
website_url
string | null
github_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
display_name_slug
string | null
display_name
string | null
github_username
string | null
joined_at
string | null
bio
string | null
website_url
string | null
github_url
string | null
linkedin_url
string | null
twitter_url
string | null
avatar_url
string | null
account_status
string | null
deletion_scheduled_at
string | null