Skip to main content
PUT
/
tags
Update tag
curl --request PUT \
  --url https://api.vantage.sh/v2/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "hidden": true,
  "tag_key": "<string>",
  "tag_keys": [
    "<string>"
  ]
}
'
{
  "tags": [
    {
      "tag_key": "app",
      "hidden": true,
      "providers": [
        "aws",
        "azure",
        "custom_provider:accss_crdntl_11bcb3867900b0df"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Updates an existing Tag.

hidden
boolean
required

Whether the Tag is hidden from the Vantage UI.

tag_key
string
tag_keys
string[]

Response

Tag model

tag_key
string

The Tag key.

Example:

"aws:createdBy"

hidden
boolean

Whether the Tag has been hidden from the Vantage UI.

providers
string[]

The unique providers that are covered by the Tag key.