GET/2010-04-01/Accounts.json

List accounts

Lists account resources associated with the account used to make the request. Filter by exact FriendlyName or by Status, and use PageSize, Page, and PageToken to control pagination.

5 parameters
FriendlyNamestringoptional
Filter to accounts whose friendly name exactly matches this value.
Statusstringoptional
Filter by account status: `active`, `suspended`, or `closed`.
Allowed:activesuspendedclosed
PageSizeintegeroptional
Number of resources to return per page. Defaults to 50 when omitted; the maximum is 1000.
Pageintegeroptional
Zero-based page index for client state.
PageTokenstringoptional
Page token provided by the API for retrieving a page.

1 status code
200Returns a paginated response containing account resources and page navigation metadata, including page size and available page URIs.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
accountsarray<object>optional

Error handling

Status must be active, suspended, or closed when provided. PageSize must be between 1 and 1000, and Page must be a non-negative integer.