DevelopersAPI referenceAuth & accountsMe
Update profile
Partial update of name/avatar_url. Reachable by API-key sessions.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/me" \ -H "Content-Type: application/json" \ -d '{}'{ "user": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "email": "[email protected]", "name": "string", "avatar_url": "string", "email_verified": true }}Switch the active workspace
Mints a new workspace-scoped access token for a workspace the caller belongs to and records it as the default. The refresh token is unchanged.
Delete account
Full sessions only. Refused while the caller is the sole owner of a team workspace that still has other members (dynamic 409 message).