POST
/
incident-templates
curl --request POST \
  --url http://localhost/api/incident-templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "template": "<string>",
  "engine": "blade"
}'
{
  "data": {
    "id": "<string>",
    "type": "incidentTemplates",
    "attributes": {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "template": "<string>",
      "engine": "<string>",
      "created": {
        "human": "<string>",
        "string": "<string>"
      },
      "updated": {
        "human": "<string>",
        "string": "<string>"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
`CreateIncidentTemplateRequestData`

The body is of type object.

Response

200
application/json
`IncidentTemplate`

The response is of type object.