cURL
curl --request DELETE \ --url https://api.energy-hub.io/v1.0.0/users/{userId}/batteries/{batteryId} \ --header 'X-API-KEY: <api-key>'
{ "success": true }
Deletes the battery for the user.
Documentation IndexFetch the complete documentation index at: https://developer.energy-hub.io/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://developer.energy-hub.io/llms.txt
Use this file to discover all available pages before exploring further.
API key used for authorization and authentication.
User ID
Battery ID
Successful operation