Skip to content

setCustomerTags

Sets customer-specified tags and the value whether the resource tags should be overridden by customer-specified tags for a given cloud type.

Arguments

Argument Type Description
input (required) SetCustomerTagsInput! Input to set customer-specified tags for a particular cloud type.

Returns

Void

Sample

mutation SetCustomerTags($input: SetCustomerTagsInput!) {
  setCustomerTags(input: $input)
}
{
  "input": {
    "cloudVendor": "ALL_VENDORS",
    "customerTags": {
      "tagList": [
        {
          "key": "example-string",
          "value": "example-string"
        }
      ]
    },
    "shouldOverrideResourceTags": true
  }
}
{
  "data": {
    "setCustomerTags": "example-string"
  }
}