building_bulk_delete_grid_limit_schedules
POST/public-api/buildings/:uuid/schedules/grid_limits/bulk-delete/
Pre-requisites
- uuid: You need a (building) uuid for this endpoint. You can get a list of buildings with
GET /buildings/. - grid_limit_uuid: You need a uuid of a GritLimitSchedule for this endpoint. You can get a list of GridLimitSchedules with
GET /buildings/{uuid}/schedules/grid_limits/.
Bulk deletes GridLimitSchedule occurrences for the specified building.
Atomic (all-or-nothing)
If any occurrence cannot be deleted, none will be deleted.
Deletion window
Only occurrences that start at least 15 minutes from now (UTC) can be deleted. The 15-minute threshold is inclusive: only occurrences withstart_time >= now + 15 minutesare deletable.
Limit
Maximum 100 UUIDs per request.
Request
Responses
- 204
- 400
- 404
Deleted (all occurrences)
Bad Request (atomic bulk delete failed; nothing deleted)
Building not Found