Update a single task in a checklist
PATCH
/api/v1/checklists/templates/{template_id}/items/{item_id}/
const url = 'https://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/items/example/';const options = {method: 'PATCH', headers: {Authorization: 'Bearer <token>'}};
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://app.ayna.com/api/v1/checklists/templates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/items/example/ \ --header 'Authorization: Bearer <token>'Update a task item’s text, required flag, or is_critical flag.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”template_id
required
Template Id
string format: uuid
item_id
required
Item Id
string
Responses
Section titled “Responses”OK
Media typeapplication/json
Response
object
key
additional properties
any
Example generated
{}