Skip to main content
DELETE
/
virtual_tag_configs
/
{token}
Delete virtual tag config
curl --request DELETE \
  --url https://api.vantage.sh/v2/virtual_tag_configs/{token} \
  --header 'Authorization: Bearer <token>'
{
  "token": "vtag_1234",
  "created_by_token": "usr_1234",
  "key": "Cost Center",
  "overridable": true,
  "backfill_until": "2025-07-01",
  "values": [
    {
      "filter": "costs.provider = 'aws' AND costs.service = 'Amazon Simple Storage Service'",
      "name": "Informatics",
      "business_metric_token": "bsnss_mtrc_abc123",
      "cost_metric": {
        "filter": "<string>",
        "aggregation": {
          "tag": "<string>"
        }
      },
      "percentages": [
        {
          "value": "cost-center-a",
          "pct": 50
        }
      ]
    }
  ],
  "collapsed_tag_keys": [
    {
      "key": "team",
      "providers": [
        ""
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

token
string
required

Response

VirtualTagConfig model

token
string
required

The token of the VirtualTagConfig.

Example:

"vtag_1234"

created_by_token
string | null
required

The token of the Creator of the VirtualTagConfig.

Example:

"usr_1234"

key
string
required

The key of the VirtualTagConfig.

Example:

"Cost Center"

overridable
boolean
required

Whether the VirtualTagConfig can override a provider-supplied tag on a matching Cost.

backfill_until
string
required

The earliest month VirtualTagConfig should be backfilled to.

Example:

"2025-07-01"

values
object[]
required

Values for the VirtualTagConfig, with match precedence determined by their relative order in the list.

collapsed_tag_keys
object[]

Tag keys to collapse values for.