PUT
/
incident-templates
/
{incidentTemplate}
curl --request PUT \
  --url http://localhost/api/incident-templates/{incidentTemplate} \
  --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.

Path Parameters

incidentTemplate
integer
required

The incident template ID

Body

application/json
`UpdateIncidentTemplateRequestData`
name
string | null
Maximum length: 255
template
string | null
engine
enum<string> | null
Available options:
blade,
twig

Response

200
application/json
`IncidentTemplate`
data
object
required