latestSwagger 2.02026-08-109450223.9 KB

94acb422c07d

Reseller

List Accounts

Shows all accounts associated with your API credentials.

Note: This endpoint will also return a pagination key on the root level.
Please refer to the pagination section within our docs for more information.

get/v1/accounts

Query parameters

limitinteger

Max number of resources returned in a paged collection. Defaults to 10, with a minimum of 1 and maximum 500.

page_tokenstring

Token used to request the next page in paginated results. Defaults to 'null'

sort_field'id' | 'name' | 'subdomain' | 'created_at' | 'updated_at'

Field to sort by. Defaults to 'id'.

sort_direction'asc' | 'desc'

Sort direction. Defaults to 'desc'.

status'enabled' | 'disabled'

Filter by status.

namestring

Filter by account name.

subdomainstring

Filter by subdomain.

Response

List Accounts

Example response

{
  "accounts": [
    {
      "id": 1,
      "name": "Your Account",
      "subdomain": "exampleaccount",
      "status": "enabled",
      "support_type": "huntress_supported",
      "neighborhood_watch": {
        "edr": 10,
        "ispm": 10,
        "itdr": 10,
        "sat": 10,
        "siem": 10
      }
    }
  ]
}