Snapvisor Docs

Update your profile

Update your display name, personal account slug, quoting currency, or where you found Snapvisor. Omitted fields are unchanged. Use it when the user wants to rename their personal account, change its URL or change the currency prices are shown in.

PATCH
/me/profile

Update your display name, personal account slug, quoting currency, or where you found Snapvisor. Omitted fields are unchanged. Use it when the user wants to rename their personal account, change its URL or change the currency prices are shown in.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

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

application/json

application/json

curl -X PATCH "https://example.com/me/profile" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "name": "string",  "slug": "string",  "primaryEmail": "string",  "emails": [    {      "email": "string",      "verified": true,      "primary": true    }  ],  "currency": "string",  "connectedLogins": [    "github"  ],  "notificationPreferences": [    {      "category": "string",      "channel": "email",      "label": "string",      "description": "string",      "enabled": true    }  ],  "createdAt": "2019-08-24T14:15:22Z"}