Account

Update an account

Updates a specific account.

patch/account/{id}

Path parameters

idinteger required

The ID of the account.

Request body

namestring required

The name of the account.

ℹ️ Note: Changing the accounts's name does not change the slug, as doing so could break connections with existing applications and services.

status'active' | 'inactive' required

The status of the account.

Example request

{
  "name": "Crypto Kong",
  "status": "active"
}

Response

An object representing the account.

idinteger required

A system-wide unique ID for the account.

namestring required

The account name.

slugstring required

An organization-wide unique slug for the account.

organization_idinteger required

The ID of the organization that owns this account.

status'active' | 'inactive' | 'deleted' required

The status of the account. The deleted value is only returned in responses to GET /account/{id}?show_deleted=true for accounts that have been soft-deleted; it cannot be set via create or update.

deleted_atstring date-time nullable

The timestamp at which the account was soft-deleted, or null if the account is still active. Only populated in responses to GET /account/{id}?show_deleted=true.

Example response

{
  "id": 1234,
  "name": "Crypto Kong",
  "slug": "crypto-kong",
  "organization_id": 123,
  "status": "active",
  "deleted_at": "2026-05-15T12:34:56.000Z",
  "metadata": {
    "key": "value"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.