Skip to main content
DELETE
/
platform
/
v2
/
sites
/
{site_id}
/
capacity
Delete Site Capacity
import requests

url = "https://api.rebase.energy/platform/v2/sites/{site_id}/capacity"

headers = {"Authorization": "<api-key>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "errors": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.

Path Parameters

site_id
string
required

Query Parameters

start_date
string<date-time>
required
end_date
string<date-time>
required
tz
string | null

Response

Successful Response