Skip to content

Update profile

PATCH
/api/v1/auth/me/profile
curl --request PATCH \
--url https://example.com/api/v1/auth/me/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "display_name": "example", "username": "example" }'

Updates the profile. It requires a signed-in User with the account scope. It can return 401 if the session is missing or expired, 403 if access is denied and 429 if the request limit is reached. Route: /api/v1/auth/me/profile. Inputs: . Do not automatically replay this operation after an uncertain result.

Media typeapplication/json
object
display_name
required
string
username
required
string
Examplegenerated
{
"display_name": "example",
"username": "example"
}
Media typeapplication/json
object
disabled
required
boolean
display_name
required
string
id
required
string format: uuid
role
required
string
Allowed values: owner admin member guest
username
required
string
Example
{
"role": "owner"
}
Media typeapplication/json
object
code
required
string
message
required
string
Examplegenerated
{
"code": "example",
"message": "example"
}