•••
 
Documentation   /   API   /   API - Deleting tasks
 
 

API - Deleting tasks

 

Endpoint

POST https://plainly.com/delete

Parameters

task
Required. Key of the relevant task being stopped. Can be obtained via the {{checklist_key}} variable.
key
Required. Workflow-specific API key. Obtained from the Developer tab for the relevant workflow in the Toolkit.
workflow_id
Required. ID of the workflow. Obtained from the Workflows section of the Toolkit.

Example

Request

https://plainly.com/delete

On success

{
  "data": {
     "status": 200,
     "title": "Task deleted",
     "detail": "The task was permanently deleted."
   }
}

On error

{
  "errors": [
    {
      "status": 400,
      "title": "Invalid attribute",
      "detail": "Your parameters were invalid."
    }
  ]
}