Get Server Firewall Groups
get
/firewall/{server_type}/{server_id}/groupsFirewall groups assigned to a VPS or baremetal server and the state of the last sync.
Groups are listed in priority order. For a baremetal server server_id is its uuid, and the
answer carries the uuid in server_id, baremetal_id and uuid.
Authorization
Authorization
Authorization*string
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Path parameters
server_type*FirewallServerType
Value in
"vps""baremetal"server_id*string
VPS number, or baremetal uuid, according to server_type
Range
length ≤ 36Responses
Successful Response
application/json
server_type*string
server_id*integer | string
One of
integer
string
vps_id?integer | null
baremetal_id?string | null
uuid?string | null
firewall_groups*array<FirewallGroupRef>
Properties (3)
id*integer
name*string
enabled*boolean
last_sync?FirewallSyncOut | null
Last firewall sync of the server, without host or switch details.
Properties (3)
status*string
updated_at?string | null
Format
date-timedetail?string | null