You can use this endpoint to delete a task from our software.
|p_companyID||string||Yes||The security code you have been provided with, string (32)|
|p_code||string||Yes||We will look to delete the Task which has it's code value equal to the supplied value.|
DELETED – the Task was successfully deleted.
ERROR_NO_SECURITY_HASH - user did not supply p_companyId security code.
ERROR_UNKNOWN_SECURITY_HASH - supplied security code p_companyId is invalid.
TASK_NOT_FOUND – no Task was found with the given p_code
CAN_NOT_DELETE_HAS_CHILDREN_TASK – no Task can be deleted if it is linked to childrens (projects to activities or activities to subactivities).
CAN_NOT_DELETE_HAS_PARENT_TASK – no Task can be deleted if it is linked to parents (activities to projects or subactivities to activities).