Update an offboarding checklist template item
PATCH
/v1/offboarding-checklist/template/{id}
const url = 'https://api.varman.io/v1/offboarding-checklist/template/example';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"title":"example","description":"example","evidenceRequired":true,"sortOrder":1,"isEnabled":true}'};
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/offboarding-checklist/template/example \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "title": "example", "description": "example", "evidenceRequired": true, "sortOrder": 1, "isEnabled": true }'Updates an existing offboarding checklist template item by id, changing its label, description, or settings on the organization’s offboarding template.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
title
string
description
string
evidenceRequired
boolean
sortOrder
number
isEnabled
boolean
Example generated
{ "title": "example", "description": "example", "evidenceRequired": true, "sortOrder": 1, "isEnabled": true}