Ga naar hoofdinhoud

building_delete_grid_limit_schedule

DELETE 

/public-api/buildings/:uuid/schedules/grid_limits/:grid_limit_uuid/

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/.

Deletes a single GridLimitSchedule occurrence for the specified building.

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. Attempts to delete occurrences that have already started or start sooner than 15 minutes will be rejected with 400 Bad Request.

Request

Responses

Deleted