PATCH
/api/public/v1/meUpdate current user
Update profile fields on the calling user. Personal preferences (notifications, accent color, etc.) live under the Personal Settings endpoint.
Request Body
| Property | Type | Description |
|---|---|---|
fullname | string | Full name. |
bio | string | Short biography. |
location | string | Location. |
PATCHExample request
curl
curl -X PATCH "https://www.pxb.app/api/public/v1/me" \
-H "X-Organization-Id: your_org_id" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"fullname": "Jane Doe",
"bio": "Founder & CEO"
}'200Example response
json
{
"message": "User updated successfully!",
"content": {
"user": {
"id": "usr_123"
}
}
}