Delete Task
  • 16 Oct 2020
  • 1 Minute To Read
  • Contributors
  • Print
  • Share
  • Dark
    Light

Delete Task

  • Print
  • Share
  • Dark
    Light

Delete Task

Method for deleting Tasks.

URL

https://api.corezoid.com/api/2/json/{API_LOGIN}/{GMT_UNIXTIME}/{SIGNATURE}

Request Body

{
    "ops": [
        {
            "type": "delete",
            "obj": "task",
            "obj_id": {{TASK_ID}},
            "conv_id": {{CONV_ID}},
            "node_id": {{NODE_ID}},
            "company_id": {{COMPANY_ID}}
        }
    ]
}
Parameter Type Required Description Possible value
ops JSON Object + The list of operations to proceed via Corezoid API. A parameter keeping JSON objects with operations * The number is user-limited by RPS limit.
type string + A request type delete
obj string + An object of request task
obj_id string + An internal ID of Task An ID of an existing Task
conv_id number + An ID of a Process for which the Task is created An ID of an existing Process
node_id string + An ID of a Node where Task currently stores
company_id string - An ID of a Company An ID of an existing Company

Response Body

{
    "request_proc": "ok",
    "ops": [
        {
            "id": "",
            "proc": "ok",
            "obj": "task",
            "obj_id": "5f4e1f5382ba9635bf640146"
        }
    ]
}
Parameter Type Description Possible value
request_proc string The overall processing status of all transactions from the request ok, error
ops array The list of request results
id string A request id empty
proc string The processing status of a specific operation ok, error
obj string An object of request task
obj_id string An internal ID of Task
Was This Article Helpful?