It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Email Gateway Defense
formerly Email Security

List Accounts

  • Last updated on

Retrieves a list of accounts for Email Gateway Defense that the user has access to.

Endpoint

GET /beta/accounts/ess

Request header

NameRequiredDescriptionType
access_tokenRequiredThe access token issued by the authorization server.String

Response

EntryDescriptionType
resultsCountThe number of items on the current page.Integer
pageNumThe current page number.Integer
itemsTotalThe total number of items.Integer
pagesTotalThe total number of pages.Integer
results

The list of objects that each represent an account.

EntryDescriptionType
accountNameThe account name.String
accountIdThe Barracuda Cloud Control account ID.String
regionThe region in which the account is hosted.String
status

The account status.

ACTIVE (The account is active and in good standing.)

SUSPENDED (The service continues to scan for viruses only; configured policies are no longer applied, spam is not blocked, and spooling is disabled.)

DISABLED (All mail to your domains is rejected by the service.)

Enumeration
Array

See Paging for more information on how to navigate through sets of paged results from this API call.

Sample Request

curl -X GET "https://api.barracudanetworks.com/beta/accounts/ess" \
--header "Authorization: Bearer {access_token}"

Sample Response

{
    "resultsCount": 1,
    "pageNum": 0,
    "itemsTotal": 1,
    "pagesTotal": 1,
    "results": [
        {
            "accountName": "Barracuda Networks Co",
            "accountId": "5584599",
            "region": "US",
			"status": "ACTIVE"
        }
    ]
}