Skip to main content

tags

Overview

Nametags
TypeResource
Iddigitalocean.firewalls.tags

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

NameAccessible byRequired ParamsDescription
add_tagsINSERTfirewall_id, data__tagsTo assign a tag representing a group of Droplets to a firewall, send a POST
request to /v2/firewalls/$FIREWALL_ID/tags. In the body of the request,
there should be a tags attribute containing a list of tag names.

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.
delete_tagsDELETEfirewall_id, data__tagsTo remove a tag representing a group of Droplets from a firewall, send a
DELETE request to /v2/firewalls/$FIREWALL_ID/tags. In the body of the
request, there should be a tags attribute containing a list of tag names.

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.