Skip to main content
PATCH
/
shield
/
shield-zone
/
{shieldZoneId}
/
bot-detection
Update your current Bot Detection configuration
curl --request PATCH \
  --url https://api.bunny.net/shield/shield-zone/{shieldZoneId}/bot-detection \
  --header 'Content-Type: application/json' \
  --data '
{
  "shieldZoneId": 123,
  "requestIntegrity": {},
  "ipAddress": {},
  "browserFingerprint": {
    "complexEnabled": true
  }
}
'
{
  "error": {
    "success": true,
    "message": "<string>",
    "errorKey": "<string>"
  },
  "data": {
    "requestIntegrity": {},
    "ipAddress": {},
    "browserFingerprint": {
      "complexEnabled": true
    },
    "shieldZoneId": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.bunny.net/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

shieldZoneId
integer<int32>
required

Body

shieldZoneId
integer<int32>
executionMode
enum<integer>
Available options:
0,
1
requestIntegrity
object
ipAddress
object
browserFingerprint
object

Response

OK

error
object

Generic response object containing status information for API operations.

data
object