Update user profile
PATCH
/users/{id}
Update own profile name, profile_slug, and/or social_links.
Authorizations
BearerAuth
Authentication is handled automatically via httpOnly session cookies after signing in at /cognito/signin or via Google SSO at /cognito/oauth/google. For Swagger UI testing, paste a JWT token from the /cognito/signin response.
Type
HTTP (bearer)
Parameters
Path Parameters
id*
Type
Requiredstring
Request Body
application/json
JSON
{
"name": "string",
"profile_slug": "string",
"social_links": {
"additionalProperties": "string"
}
}
Responses
Profile updated
application/json
JSON
{
"success": true,
"message": "string"
}