Last updated 1 month ago
Use these operations to interact with the in Cortex.
Your API key must have the Configure integrations permission.
Configure integrations
GET /api/v1/pagerduty/default-configuration HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully found configuration
{ "isTokenReadonly": true, "lastFour": "text" }
POST /api/v1/pagerduty/configuration/validate HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully validated configuration
{ "configurations": [ { "alias": "text", "isValid": true, "message": "text" } ] }
DELETE /api/v1/pagerduty/configurations HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Accept: */*
Successfully deleted configuration
{ "configurations": [ { "isTokenReadonly": true, "lastFour": "text" } ] }
POST /api/v1/pagerduty/configuration HTTP/1.1 Host: api.getcortexapp.com Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 39 { "isTokenReadonly": true, "token": "text" }
Successfully added configuration