Delete
/el_premises/{id}/
Operation is used to mark Electric premises as deleted. Available from product version 3.2.2.
Operation doesn't actually delete Electric premises, just marks it as deleted. Actual deletion can be done via KeyLight application.
Security
API Key: Token
Header parameter nameAuthorization
Token issued for API consumer.
Path parameters
id
integerRequired
Id of Electric premises to delete
Query parameters
permanent-delete
boolean
Providing permanent-delete=True will delete the object from the database. Available from product version 3.2.22.
Responses
204
Object was marked as deleted
401
Authentication credentials are missing or invalid
{
"details": "Authentication credentials were not provided"
}object
details
string
Detailed description of error