Update a checklist step
PATCH
/v1/incidents/{id}/checklist/{itemId}
const url = 'https://api.varman.io/v1/incidents/example/checklist/example';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"done":true,"title":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.varman.io/v1/incidents/example/checklist/example \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "done": true, "title": "example" }'Rename an incident response checklist step or mark it done or not done. Completed steps record who finished them and when.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
itemId
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
done
Mark the step done or not done
boolean
title
string
Example generated
{ "done": true, "title": "example"}