cURL
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": 123, "name": "<string>", "slug": "<string>", "template": "<string>", "engine": "blade", "created": { "human": "<string>", "string": "<string>" }, "updated": { "human": "<string>", "string": "<string>" } } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The incident template ID
UpdateIncidentTemplateRequestData
The body is of type object.
object
IncidentTemplate
The response is of type object.