VPS_activateFirewallV1
Activate a firewall for a specified VPS instance using a unique firewall ID. Apply firewall rules to enhance security and control inbound and outbound traffic.
Instructions
Activate a firewall for a specified virtual machine.
Only one firewall can be active for a virtual machine at a time.
Use this endpoint to apply firewall rules to VPS instances.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
firewallId | Yes | Firewall ID | |
virtualMachineId | Yes | Virtual Machine ID |
Input Schema (JSON Schema)
{
"properties": {
"firewallId": {
"description": "Firewall ID",
"type": "integer"
},
"virtualMachineId": {
"description": "Virtual Machine ID",
"type": "integer"
}
},
"required": [
"firewallId",
"virtualMachineId"
],
"type": "object"
}