Accounts
Get a list of accounts
Authorization: Bearer
The cursor to use for pagination.
The number of accounts to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Create a new account
Authorization: Bearer
Deprecated. Please use Domains and PrimaryDomain instead.
The domains of the account, without any leading scheme, for example stripe.com. Must specify one domain as primary.
The logo URL of the account. Must be a square .png, .jpg or .jpeg.
The name of the account.
The ID of the owner of the account.
Must be in the list of domains. If there are any domains, there must be exactly one primary domain.
An array of account IDs to be added as subaccounts to this account.
An array of strings to use as tags on this account. If provided, the accounts tags will be updated to the given tags.
Update multiple accounts
Authorization: Bearer
The account IDs to update. The number of accounts to update must be between 1 and 100.
The ID of the new owner. If empty string is passed in, the owner will be removed.
An array of tags to be updated on the accounts.
The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
Get an account by its ID or external ID
Authorization: Bearer
The ID or external ID of the account to fetch.
Update an existing account
Authorization: Bearer
The ID or external ID of the account to update.
Domains of the account. Must specify one domain as primary.
Logo URL of the account.
The name of the account.
The ID of the owner of the account. If empty string is passed in, the owner will be removed.
Must be in the list of domains. If there are any domains, there must be exactly one primary domain.
An array of account IDs to be added as subaccounts to this account.
An array of strings to use as tags on this account. If provided, the accounts tags will be updated to the given tags.
Delete an existing account
Authorization: Bearer
The ID or external ID of the account to delete.
Currently, the following fields are filterable for accounts:
-
domains. Allowed operators:
contains,does_not_contain,in,not_in -
tags. Allowed operators:
contains,does_not_contain,in,not_in -
name. Allowed operators:
equals,in,not_in,string_contains -
external_ids. Allowed operators:
equals,in,not_in,is_set,is_unset -
custom fields (pass in the slug of the custom field)
Authorization: Bearer
The cursor to use for pagination.
The number of accounts to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Last updated
Was this helpful?

