Virtual Machine
Attach firewalls to VMs
Attaches an existing firewall to one or more virtual machines. Include the firewall ID in the path, and the IDs of the virtual machines to which it is being added in the request body, as detailed below.
post/core/firewalls/{firewall_id}/update-attachments
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/core/firewalls/{firewall_id}/update-attachments
- Auth: API key in header api_key
Path parameters
firewall_idinteger required
ID of the firewall.
Request body
Response
Success
Example response
{
"status": true,
"message": "Instance is being deleted."
}Changes
No recorded changes to this operation across all 1 revision of this API.