Tasks - Delete a Task
DELETE yourdomain.com/api/delete/tasks/:id
Header
json
Field | Type | Description |
---|---|---|
Authorization | String |
Basic Access Authentication token. |
Parameter
json
Field | Type | Description |
---|---|---|
id | Number |
Task unique ID. |
Success 200
json
Field | Type | Description |
---|---|---|
status | String |
Request status. |
message | String |
Task Delete Successful. |
Error 4xx
json
Name | Type | Description |
---|---|---|
status | String |
Request status. |
message | String |
Task Delete Fail. |
HTTP/1.1 200 OK
{
"status": true,
"message": "Task Delete Successful."
}
HTTP/1.1 404 Not Found
{
"status": false,
"message": "Task Delete Fail."
}