Skip to main content
PATCH
/
shield
/
shield-zone
/
{shieldZoneId}
/
upload-scanning
cURL
curl --request PATCH \
  --url https://api.bunny.net/shield/shield-zone/{shieldZoneId}/upload-scanning \
  --header 'Content-Type: application/json' \
  --data '
{
  "shieldZoneId": 123,
  "isEnabled": true,
  "csamScanningMode": 0,
  "antivirusScanningMode": 0
}
'
{
  "error": {
    "statusCode": 100,
    "success": true,
    "message": "<string>",
    "errorKey": "<string>"
  },
  "data": {
    "shieldZoneId": 123,
    "isEnabled": true,
    "csamScanningMode": 0,
    "antivirusScanningMode": 0
  }
}

Path Parameters

shieldZoneId
integer<int32>
required

Body

shieldZoneId
integer<int32>
isEnabled
boolean | null
csamScanningMode
enum<integer>
Available options:
0,
1,
2
antivirusScanningMode
enum<integer>
Available options:
0,
1,
2

Response

OK

error
object

Generic response object containing status information for API operations.

data
object