Skip to content
Start here

Resource Tagging

List tagged resources
client.ResourceTagging.List(ctx, params) (*CursorPaginationAfter[ResourceTaggingListResponse], error)
GET/accounts/{account_id}/tags/resources

Resource TaggingAccount Tags

Get tags for an account-level resource
client.ResourceTagging.AccountTags.Get(ctx, params) (*AccountTagGetResponse, error)
GET/accounts/{account_id}/tags
Set tags for an account-level resource
client.ResourceTagging.AccountTags.Update(ctx, params) (*AccountTagUpdateResponse, error)
PUT/accounts/{account_id}/tags
Delete tags from an account-level resource
client.ResourceTagging.AccountTags.Delete(ctx, params) error
DELETE/accounts/{account_id}/tags

Resource TaggingZone Tags

Get tags for a zone-level resource
client.ResourceTagging.ZoneTags.Get(ctx, params) (*ZoneTagGetResponse, error)
GET/zones/{zone_id}/tags
Set tags for a zone-level resource
client.ResourceTagging.ZoneTags.Update(ctx, params) (*ZoneTagUpdateResponse, error)
PUT/zones/{zone_id}/tags
Delete tags from a zone-level resource
client.ResourceTagging.ZoneTags.Delete(ctx, params) error
DELETE/zones/{zone_id}/tags

Resource TaggingKeys

List tag keys
client.ResourceTagging.Keys.List(ctx, params) (*CursorPaginationAfter[string], error)
GET/accounts/{account_id}/tags/keys

Resource TaggingValues

List tag values
client.ResourceTagging.Values.List(ctx, tagKey, params) (*CursorPaginationAfter[string], error)
GET/accounts/{account_id}/tags/values/{tag_key}