PATCH
cURL
Requires an Organization token.
Updates an account. Identify it with account_id or reference_id. Changing reference_id is only allowed when looking up by account_id.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

account_id
string

The unique account ID of the account to update.

reference_id
string

Your external reference ID for the account. Note: reference_id in the body can only be updated when looking up by account_id.

Body

application/json
name
string

Updated display name for the account

reference_id
string

Updated external reference ID. Can only be changed when looking up by account_id.

Response

Account updated successfully

success
boolean
Example:

true

payload
object

An account within the organization