DELETE   checks/tags

Removes association between checks and tag values.

Request example and description

curl --request DELETE "https://api-asm1.apica.io/v3/checks/tags?auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E" --header "Content-Type: application/json" --data-raw "{
  \"check_ids\": [
    12345,
    6789,
    34524
  ],
  \"tags\": {
    \"Environment\": [
      \"Prod\",
      \"Dev\"
    ],
    \"Region\": [
      \"USA\",
      \"SWE\"
    ]
  }
}"
NameType Required Description
check_ids Array Yes

Identifiers of the checks to associate with the tag values.

tags Object Yes

Tag values to be associated with the checks.

Response body model example and description

{
  "deleted_associations": [
    {
      "check_id": 345665,
      "tag_key": "Region",
      "tag_value": "Prod"
    },
    {
      "check_id": 12345,
      "tag_key": "Region",
      "tag_value": "SWE"
    },
    {
      "check_id": 345665,
      "tag_key": "Environment",
      "tag_value": "SWE"
    }
  ]
}
NameType Description
deleted_associations Array

The list of deleted check - tag value associations.

check_id Integer

The numeric identifier of the check.

tag_key String

Tag key.

tag_value String

Tag value.