update-tag
Update a tag's key, value, or resource associations. Replace linked resources with a single call, but note that this operation is not atomic.
Instructions
Update a tag (rename its key/value, or replace its resource associations). Provide at least one of key, value, or resources. Sending resources:[] removes all associations; omitting resources leaves them unchanged. Replacing resources is NOT atomic — a failed update can leave a partially-applied set, so for small association changes prefer attach-tag/detach-tag. v2-only — returns a 501 notice on the v1 API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | New tag key | |
| tagId | Yes | ID of the tag to update | |
| value | No | New tag value | |
| resources | No | Replace the tag's resource associations with exactly these. Omit to leave unchanged; pass [] to detach all. |