List Accounts

List Accounts

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

Endpoint

GET /beta/accounts/ess

Request header

Name

Required

Description

Type

Name

Required

Description

Type

access_token

Required

The access token issued by the authorization server.

String

Response

Entry

Description

Type

Entry

Description

Type

resultsCount

The number of items on the current page.

Integer

pageNum

The current page number.

Integer

itemsTotal

The total number of items.

Integer

pagesTotal

The total number of pages.

Integer

results

The list of objects that each represent an account.

Entry

Description

Type

accountName

The account name.

String

accountId

The Barracuda Cloud Control account ID.

String

region

The 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" } ] }