cURL
curl --request DELETE \ --url https://api.energy-hub.io/v1.0.0/users/{userId}/tariffs/{tariffId} \ --header 'X-API-KEY: <api-key>'
{ "success": true }
Deletes the tariff for the user.
API key used for authorization and authentication.
User ID
Tariff ID
Successful operation
The response is of type object.
object