curl --request PATCH \
--url https://api.bunny.net/shield/shield-zone/{shieldZoneId}/access-lists/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"content": "<string>",
"checksum": "<string>"
}
'{
"data": {
"id": 123,
"name": "<string>",
"description": "<string>",
"type": 0,
"content": "<string>",
"checksum": "<string>",
"entryCount": 123,
"lastModified": "2023-11-07T05:31:56Z"
},
"error": {
"statusCode": 100,
"success": true,
"message": "<string>",
"errorKey": "<string>"
}
}curl --request PATCH \
--url https://api.bunny.net/shield/shield-zone/{shieldZoneId}/access-lists/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"content": "<string>",
"checksum": "<string>"
}
'{
"data": {
"id": 123,
"name": "<string>",
"description": "<string>",
"type": 0,
"content": "<string>",
"checksum": "<string>",
"entryCount": 123,
"lastModified": "2023-11-07T05:31:56Z"
},
"error": {
"statusCode": 100,
"success": true,
"message": "<string>",
"errorKey": "<string>"
}
}The ID of the Custom Access List to update.
The ID of the Shield Zone to which the Custom Access List belongs.
Request model for updating a custom access list.
The new display name for the access list. If null, the current name is preserved.
The new content for the access list with entries separated by newlines. If null, the current content is preserved.
SHA-256 checksum of the new content for integrity verification. If null, it will be automatically calculated.
Was this page helpful?