API · Dashboard team
PATCH /accounts/{id}
Rename the account.
| |
|---|
| Request | PATCH /v1/accounts/{id} |
| Operation id | accounts.update |
| Cost | Free |
| Auth | Dashboard session: Authorization: Bearer <session_token>. API keys are refused. |
| Name | Type | Required | Description |
|---|
id | string | yes | Example: acct_01J…. |
| Field | Type | Required | Description |
|---|
name | string | yes | |
| Status | Meaning | Schema |
|---|
200 | Renamed. | |
400 | Invalid name. | Error |
401 | Not signed in, or an API key was sent. | Error |
403 | Members can look; owners and admins make changes. | Error |
404 | No such account among yours. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.