Sign in

Tag resources

documented

Associate resources with a tag.

POST /v2/tags/{tag_name}/resourcesTagsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.digitalocean.com/v2/tags/{{$tag_name}}/resources" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"resources":[{"resource_id":"{{$resource_id_1}}","resource_type":"{{$resource_type_1}}"},{"resource_id":"{{$resource_id_2}}","resource_type":"{{$resource_type_2}}"}]}'
Tag resources · DigitalOcean · OpenIntegrations