staqlydocs
REST APIAPI referenceAccounts

Change the signed-in person's name

Change the signed-in person's name (how members, the activity log and emails show them)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

PATCH
/v1/account

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Header Parameters

Idempotency-Key?string

Replays the stored response when the same key is repeated with the same method, path, query string and body within 24 hours (422 idempotency_mismatch with a different request, 409 idempotency_in_progress while the first one runs). Not applied to multipart uploads or to responses that carry a secret.

Lengthlength <= 200

Request Body

application/json
  1. body
name*string
Lengthlength <= 100

Response Body

OK

application/json
  1. response
id*string
name*string

The person's name (from Google or set by them); in the Community Edition the computer's user name

email*string
avatar_url*string
curl -X PATCH 'https://staqly.example.com/v1/account' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
{  "id": "string",  "name": "string",  "email": "string",  "avatar_url": "string"}