ad855d921ee9

latestOpenAPI 3.0.32026-08-14137304312.9 KB
accounts

Update multiple accounts

Updates multiple accounts in a single request. Only provided fields are modified.

Rate limit: 20 requests per minute

patch/accounts

Request body

account_idsstring[] required

The account IDs to update. The number of accounts to update must be between 1 and 100.

account_type'customer' | 'partner'

The type of the account. Can only be changed to "customer" or "partner".

owner_idstring

The ID of the new owner. If empty string is passed in, the owner will be removed.

tagsstring[]

An array of tags to be updated on the accounts.

tags_apply_mode'append_only' | 'remove_only' | 'replace'

The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".

Example request

{
  "account_type": "customer",
  "tags_apply_mode": "replace"
}

Response

request_idstring

The request ID for tracking.

successboolean

Whether the update was successfully initiated.