Driver Schedule Special Event Delete Many Ep
POST/v1/driver_schedule/special_event/delete_many
Delete Many Special Events
Deletes multiple special events by ID.
Required Scopes (ids.w)
Request Body
ids: list[str]
A list of special event IDs to delete.
Response
deleted_count: int
The number of events successfully deleted.
errors: list[DeleteError]
A list of errors for events that could not be deleted.
Responses
- 200
- 422
Successful Response
- application/json
- Example (from schema)
{
"deleted_count": 0,
"errors": [
{
"id": "string",
"error": "string"
}
]
}
Validation Error
- application/json
- Example (from schema)
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...