cURL
curl --request DELETE \ --url https://api.energy-hub.io/v1.0.0/batteries/{batteryId} \ --header 'X-API-KEY: <api-key>'
{ "success": true }
Deletes the battery.
API key used for authorization and authentication.
Battery ID
Successful operation
The response is of type object.
object