Delete worker

Delete worker

Note that workers with an active task cannot be deleted until the task has been completed.

curl -X DELETE "https://onfleet.com/api/v2/workers/sFtvhYK2l26zS0imptJJdC2q" \
       -u "cd3b3de84cc1ee040bf06512d233719c:"
onfleet.workers.deleteOne(id="sFtvhYK2l26zS0imptJJdC2q")
onfleet.workers.deleteOne("sFtvhYK2l26zS0imptJJdC2q");
$onfleet->workers->deleteOne("sFtvhYK2l26zS0imptJJdC2q")
HTTP/1.1 200 OK