VPS: Firewall
Get firewall details
Retrieve firewall by its ID and rules associated with it.
Use this endpoint to view specific firewall configuration and rules.
get/api/vps/v1/firewall/{firewallId}
Path parameters
firewallIdinteger required
Example:9449049
Firewall ID
Response
Success response
Example response
{
"id": 65224,
"name": "HTTP and SSH only",
"rules": [
{
"id": 24541,
"action": "accept",
"protocol": "TCP",
"port": "1024:2048",
"source": "any",
"source_detail": "any"
}
],
"created_at": "2021-09-01T12:00:00Z",
"updated_at": "2021-09-01T12:00:00Z"
}