To remove a Droplet from a firewall, send a DELETE request to/v2/firewalls/$FIREWALL_ID/droplets. In the body of the request, there shouldbe a droplet_ids attribute containing a list of Droplet IDs.No response body will be sent back, but the response code will indicatesuccess. Specifically, the response code will be a 204, which means that theaction was successful with no returned body data.
The request body
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
To assign a Droplet to a firewall, send a POST request to/v2/firewalls/$FIREWALL_ID/droplets. In the body of the request, thereshould be a droplet_ids attribute containing a list of Droplet IDs.No response body will be sent back, but the response code will indicatesuccess. Specifically, the response code will be a 204, which means that theaction was successful with no returned body data.
The request body
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
To remove a Droplet from a firewall, send a DELETE request to/v2/firewalls/$FIREWALL_ID/droplets. In the body of the request, there shouldbe a droplet_ids attribute containing a list of Droplet IDs.No response body will be sent back, but the response code will indicatesuccess. Specifically, the response code will be a 204, which means that theaction was successful with no returned body data.
The request body
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
To assign a Droplet to a firewall, send a POST request to/v2/firewalls/$FIREWALL_ID/droplets. In the body of the request, thereshould be a droplet_ids attribute containing a list of Droplet IDs.No response body will be sent back, but the response code will indicatesuccess. Specifically, the response code will be a 204, which means that theaction was successful with no returned body data.
The request body
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
Builds and executes requests for operations under /v2/firewalls/{firewall_id}/droplets