Ga naar hoofdinhoud

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 with start_time >= now + 15 minutes are deletable.

Limit
Maximum 100 UUIDs per request.

Request

Responses

Deleted (all occurrences)