Skip to content

Update user profile​

PATCH
/users/{id}

Update your own profile. The fields below are the whole writable set;
anything else in the body is ignored rather than rejected.

location has been accepted since #1654 and was missing from this
schema; profile_visibility is new in #1696.

Authorizations​

BearerAuth

In the browser, authentication rides on the httpOnly session cookies set by /cognito/signin or the Google / Apple sign-in at /cognito/oauth/{provider}. For scripts and for Swagger UI testing, paste an API key (fh_live_…, created with POST /api-keys); a Cognito JWT is accepted too. Sign-in does not return a token in its body.

Type
HTTP (bearer)

Parameters​

Path Parameters

id*
Type
string
Required

Request Body​

application/json
JSON
{
"name": "string",
"profile_slug": "string",
"social_links": {
"additionalProperties": "string"
},
"location": "Sacramento, CA",
"profile_visibility": "private"
}

Responses​

Profile updated

application/json
JSON
{
"success": true,
"message": "string"
}

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI

Built with VitePress