Luxor Documentation Hub Logo
Energy/API Documentation/Sites

Delete site

Deletes an existing site by site_id. A site deletion will fail if it has any active AS Schedules, AS calls, or manual site conditions. Deletion also requires the site to have active T. D Adder and REP Adder contracts.

DELETE
/api/v1/energy/sites/{site_id}

Authorization

AuthorizationRequiredBearer <token>

In: header

Path Parameters

site_idRequiredSite Id

The UUID of the site to delete

Format: "uuid"
curl -X DELETE "https://app.luxor.tech/api/v1/energy/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: Bearer <token>"

Site deleted successfully