Skip to main content
GET
/
shield
/
shield-zone
/
{shieldZoneId}
/
access-lists
cURL
curl --request GET \
  --url https://api.bunny.net/shield/shield-zone/{shieldZoneId}/access-lists
{
  "managedLists": [
    {
      "listId": 123,
      "configurationId": 123,
      "name": "<string>",
      "isEnabled": true,
      "type": 0,
      "action": 0,
      "entryCount": 123,
      "lastUpdated": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "category": 0,
      "requiredPlan": 0,
      "updateFrequency": "<string>"
    }
  ],
  "customLists": [
    {
      "listId": 123,
      "configurationId": 123,
      "name": "<string>",
      "isEnabled": true,
      "type": 0,
      "action": 0,
      "entryCount": 123,
      "lastUpdated": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "category": 0,
      "requiredPlan": 0,
      "updateFrequency": "<string>"
    }
  ],
  "customEntryCount": 123,
  "customEntryLimit": 123,
  "customListCount": 123,
  "customListLimit": 123,
  "error": {
    "statusCode": 100,
    "success": true,
    "message": "<string>",
    "errorKey": "<string>"
  }
}

Path Parameters

shieldZoneId
integer<int32>
required

The ID of the Shield Zone to which the Access Lists belong.

Response

OK

Response containing comprehensive access list information for a Shield Zone, including both managed and custom lists.

managedLists
object[] | null

List of curated threat lists maintained by Bunny Shield with automatic updates.

customLists
object[] | null

List of custom access lists created and maintained by the user.

customEntryCount
integer<int32> | null

Total number of entries across all custom access lists for this Shield Zone.

customEntryLimit
integer<int32> | null

Maximum number of entries allowed across all custom access lists based on the Shield plan.

customListCount
integer<int32> | null

Current number of custom access lists for this Shield Zone.

customListLimit
integer<int32> | null

Maximum number of custom access lists allowed based on the Shield plan.

error
object

Generic response object containing status information for API operations.