cURL
curl --request DELETE \ --url https://apiweb.mile.app/api/v3/task/{id} \ --header 'Authorization: Bearer <token>'
{ "status": true, "message": "Success", "task": { "_id": "6352736c628401059b37a2e2", "flow": "Visit", "hubId": "634e98498ce07d29474a7e29", "startTime": "2022-11-02T07:28:23+00:00", "organizationId": "634e98098ce07d29474a7e22", "status": "UNASSIGNED", "hub": { "_id": "634e98498ce07d29474a7e29", "name": "Jakarta", "lat": -6.205154152722965, "lng": 106.84667067970608 }, "orderIndex": 10, "field1": "Jack Ward", "field2": "Gambir Jakarta", "field3": "-6.230815251,106.75684387", "createdFrom": "API", "endTime": "2022-11-05T07:28:23+00:00", "createdBy": "Roger", "createdTime": "2022-11-01T07:28:23+00:00" } }
Permanently deletes a single task from the system. This action cannot be undone.
Use a valid Bearer token to authenticate.
Unique identifier for the task that generated by system. Example: 6352736c628401059b37a2e2
6352736c628401059b37a2e2
Success
Status of response.
Message of API response.
Detail of object task.