Create an Incident Tag Definition

Create an incident tag definition.

🚧

Authentication

All BigPanda APIs require Bearer Token Authorization in the call headers.

This API uses the User API Key type of Authorization token.

Sample Call

curl --request POST \
     --url https://api.bigpanda.io/resources/v2.0/incidents/tags/definitions \
     --header 'Authorization: Bearer <User API Key>' \
     --header 'Content-type: application/json' \
     --data '{
    "name": "Affected Services",
    "description": "Services affected by the incident",
    "type": "MultiValue",
    "active": true,
    "canManualInput": true,
    "enrichment_config": {
      "items": [
        {
        "value": "{alert_tags.url}",
        "condition": "event_type = \"known issue\"",
        "id": 13671
        }
      ]
    }
  }'
curl --request POST \
     --url https://eu-api.bigpanda.io/resources/v2.0/incidents/tags/definitions \
     --header 'Authorization: Bearer <User API Key>' \
     --header 'Content-type: application/json' \
     --data '{
    "name": "Affected Services",
    "description": "Services affected by the incident",
    "type": "MultiValue",
    "active": true,
    "canManualInput": true,
    "enrichment_config": {
      "items": [
        {
        "value": "{alert_tags.url}",
        "condition": "event_type = \"known issue\"",
        "id": 13671
        }
      ]
    }
  }'
Language