Skip to main content
All CollectionsAPI
Unassign Tasks
Unassign Tasks

Learn about unassigning Tasks via API in eLogii

eLogii avatar
Written by eLogii
Updated over a year ago

Unassigning tasks on eLogii is possible through the dashboard as well as the API through the endpoint [POST](<http://localhost:8000>) /tasks/unassign .

To unassign tasks enter the task ID as shown in the sample payload below:

Payload:

{ 
"taskIds": [ "65110cbf09e31ab5c8d41e2a" ]
}

Response

{ 
"result": 1,
"errors": [],
"ids": [ "65110cbf09e31ab5c8d41e2a" ]
}

Notes:

  • The Task ID can be found in the response received when retrieving all Tasks via API or after creating a Task.

  • Unassigning Tasks is key before deleting a Task that is already assigned to a Driver.

Did this answer your question?