cURL
curl --request PATCH \ --url https://api.trycomp.ai/v1/tasks/{id} \ --header 'X-API-Key: <api-key>'
{ "id": "tsk_abc123def456", "title": "Review security policies", "description": "Conduct quarterly review of all security policies and procedures", "status": "todo", "frequency": "daily", "department": "none", "order": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "lastCompletedAt": {}, "assigneeId": {}, "organizationId": "<string>", "taskTemplateId": {} }
Updates a specific task by ID for the authenticated organization
API key for authentication
Task ID
"tsk_abc123def456"
Task updated successfully
The response is of type object.
object
Was this page helpful?