Retrieves a list of accounts for the Barracuda ESS product that the user has access to.
Endpoint
GET /beta/accounts/ess
Request header
Name | Required | Description | Type |
---|---|---|---|
access_token | Required | The access token issued by the authorization server. | String |
Response
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.
| Array |
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"
}
]
}