Virtual Tags
List virtual tags
Returns the workspace's enabled virtual tags. The templates a workspace is created with are listed once enabled in the console, or once a tag is created under one's key.
Needs a token with viewTags on the workspace.
query Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredpageThe page to return, counted from 1. A page below 1 reads page 1; one past the last returns no items.
limitItems per page, from 1 to 100. A larger value is clamped to 100, a smaller one to 1.
List virtual tags › Responses
Success
Create virtual tag
Creates a new virtual tag.
Needs a token with manageTags on the workspace.
Headers
Idempotency-KeyA unique value, at most 255 printable ASCII characters, such as a UUID, that makes retrying this create safe. A retry with the same key and the same request within 24 hours answers the first response again, marked Idempotent-Replayed: true, and creates nothing; the same key with another request answers 422 idempotency_key_reused. A key is kept only for a create that succeeded. Without it, every request creates.
Create virtual tag › Request Body
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredkeydescriptiondefaultValuecollapsedTagKeysCreate virtual tag › Responses
Created
id^vtag_[A-Za-z0-9_-]{… · requiredkeyGet virtual tag
Returns a specific virtual tag.
Needs a token with viewTags on the workspace.
path Parameters
virtualTagId^vtag_[A-Za-z0-9_-]{… · requiredquery Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredGet virtual tag › Responses
Success
id^vtag_[A-Za-z0-9_-]{… · requiredkeycollapsedTagKeyscreatedAtdescriptiondefaultValueupdatedAtUpdate virtual tag
Updates a virtual tag and returns it as stored. Refused with 409 conflict when the new key is another enabled virtual tag's in the workspace.
Needs a token with manageTags on the workspace.
path Parameters
virtualTagId^vtag_[A-Za-z0-9_-]{… · requiredHeaders
If-MatchApplies the write only while the resource still has this ETag, and answers 412 precondition_failed otherwise. Without it, the last write wins.
Update virtual tag › Request Body
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredkeydescriptionclearDescriptiondefaultValueclearDefaultValuecollapsedTagKeysUpdate virtual tag › Responses
Success
id^vtag_[A-Za-z0-9_-]{… · requiredkeycollapsedTagKeyscreatedAtdescriptiondefaultValueupdatedAtDelete virtual tag
Deletes a virtual tag. Refused with 409 in_use, naming them, while cost reports, cost alerts or saved filters filter or group by it.
Needs a token with manageTags on the workspace.
path Parameters
virtualTagId^vtag_[A-Za-z0-9_-]{… · requiredquery Parameters
workspaceId^wsp_[A-Za-z0-9_-]{2… · requiredHeaders
If-MatchApplies the write only while the resource still has this ETag, and answers 412 precondition_failed otherwise. Without it, the last write wins.
Delete virtual tag › Responses
No Content