droplets
Overview
Name | droplets |
Type | Resource |
Id | digitalocean.firewalls.droplets |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource and then invoke a supported method using the EXEC
command
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
delete_droplets | DELETE | firewall_id, data__droplet_ids | 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 indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data. |
assign_droplets | EXEC | firewall_id, data__droplet_ids | 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 indicate success. Specifically, the response code will be a 204, which means that the action was successful with no returned body data. |