resources
Creates, updates, deletes, gets or lists a resources
resource.
Overview
Name | resources |
Type | Resource |
Id | digitalocean.tags.resources |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
tags_assign_resources | EXEC | tag_id, data__resources | Resources can be tagged by sending a POST request to /v2/tags/$TAG_NAME/resources with an array of json objects containing resource_id and resource_type attributes. Currently only tagging of Droplets, Databases, Images, Volumes, and Volume Snapshots is supported. resource_type is expected to be the string droplet , database , image , volume or volume_snapshot . resource_id is expected to be the ID of the resource as a string. |
tags_unassign_resources | EXEC | tag_id, data__resources | Resources can be untagged by sending a DELETE request to /v2/tags/$TAG_NAME/resources with an array of json objects containing resource_id and resource_type attributes. Currently only untagging of Droplets, Databases, Images, Volumes, and Volume Snapshots is supported. resource_type is expected to be the string droplet , database , image , volume or volume_snapshot . resource_id is expected to be the ID of the resource as a string. |