curl --request GET \
--url https://api.vmarea.com/api/v1/api/public/v1/firewalls/{id} \
--header 'x-api-key: <api-key>'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"rules": [
{
"id": "<string>",
"firewallId": "<string>",
"position": 123,
"direction": "IN",
"action": "ACCEPT",
"protocol": "TCP",
"port": "<string>",
"sourceIps": [
"<string>"
],
"destIps": [
"<string>"
],
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"bindings": [
{
"vmId": "<string>",
"attachedAt": "2023-11-07T05:31:56Z",
"vm": {
"id": "<string>",
"name": "<string>",
"hostname": "<string>",
"status": "<string>"
}
}
],
"bindingCount": 123,
"ruleCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Fetches a single firewall including its full rule set and the VMs it is bound to.
curl --request GET \
--url https://api.vmarea.com/api/v1/api/public/v1/firewalls/{id} \
--header 'x-api-key: <api-key>'{
"success": true,
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"rules": [
{
"id": "<string>",
"firewallId": "<string>",
"position": 123,
"direction": "IN",
"action": "ACCEPT",
"protocol": "TCP",
"port": "<string>",
"sourceIps": [
"<string>"
],
"destIps": [
"<string>"
],
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"bindings": [
{
"vmId": "<string>",
"attachedAt": "2023-11-07T05:31:56Z",
"vm": {
"id": "<string>",
"name": "<string>",
"hostname": "<string>",
"status": "<string>"
}
}
],
"bindingCount": 123,
"ruleCount": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.vmarea.com/llms.txt
Use this file to discover all available pages before exploring further.
Long-lived API token created at https://vmarea.com/dashboard/settings/api-keys. Tokens are scope-restricted; this spec lists the scope each endpoint requires.