Skip to main content
DELETE
/
api
/
partners
/
v2.0
/
org
/
{org_id}
/
users
/
{user_id}
/
energy-contracts
/
{energy_contract_id}
Remove a User's Energy Contract
curl --request DELETE \
  --url https://api.example.com/api/partners/v2.0/org/{org_id}/users/{user_id}/energy-contracts/{energy_contract_id} \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

org_id
string<uuid>
required

The organization ID of the user's organization

user_id
string<uuid>
required

The user ID of the user whom the energy contract belongs to

energy_contract_id
string<uuid>
required

The ID of the energy contract to be deleted

Response

200

OK