Luxor Documentation Hub Logo
Energy/API Documentation/Contracts

Delete contract

Deletes an existing contract. Cannot delete a contract if it would leave a site without required active contracts (T_D_Fee, Retail_Fee).

DELETE
/api/v1/energy/contracts/{contract_id}

Authorization

AuthorizationRequiredBearer <token>

In: header

Path Parameters

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

Contract deleted successfully