Skip to main content

Driver Schedule Delete Many Ep

POST 

/v1/driver_schedule/delete_many

Delete Many Driver Schedules

Deletes multiple driver schedules by ID. Schedules that have orders assigned or have already been started will be rejected.

Required Scopes (ids.w)

Request Body

ids: list[str]
A list of driver schedule IDs to delete.

Response

deleted_count: int
The number of schedules successfully deleted.


errors: list[RecordError]
A list of errors for schedules that could not be deleted.

Responses

Successful Response

{
"deleted_count": 0,
"errors": [
{
"id": "string",
"error": "string"
}
]
}
Loading...