Skip to documentation
DocumentationAPI referenceBind one firewall to one server
POSTBearer token

Bind one firewall to one server

/api/v1/firewalls/bind

Bind one active team server to one team or system firewall.

Before you call

A server can have at most one firewall. TOVA checks Contabo, removes other associations, and keeps an existing target association. Retry the same target to repair a saved association.

Request example

cURL
curl "https://tovahub.com/api/v1/firewalls/bind" -X POST \
  -H "Authorization: Bearer $TOVAHUB_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "id": "507f1f77bcf86cd799439012",
  "serverId": "507f1f77bcf86cd799439013"
}'

Examples only. No requests are sent from this page.

Illustrative response
JSON
{}

Parameters

idJSON body · Required

string

A 24-character ID for a firewall available to the current team.

serverIdJSON body · Required

string

Current team server ID: 24 hexadecimal characters. Deleted or transferred servers are not accessible.

Response

HTTP status 200

Return confirmation after one server is bound.