POSTBearer token
Delete a firewall
/api/v1/firewalls/delete
Delete an editable team firewall with no attached servers. Remove its Contabo resource if one exists.
Before you call
System firewalls cannot be deleted.
Request example
cURL
curl "https://tovahub.com/api/v1/firewalls/delete" -X POST \
-H "Authorization: Bearer $TOVAHUB_TOKEN" \
-H "Content-Type: application/json" \
--data '{
"id": "507f1f77bcf86cd799439012",
"requestKey": "docs_example_001"
}'Examples only. No requests are sent from this page.
Illustrative response
JSON
{}Parameters
idJSON body · Requiredstring
A 24-character ID for an editable firewall owned by the current team.
requestKeyJSON body · Requiredstring
8–100 characters: A–Z, a–z, 0–9, underscore or hyphen. Keep the same key and identical input when retrying the same operation.
Response
HTTP status 200
Return confirmation after the firewall is deleted.