Python
import requests url = "https://api.rebase.energy/platform/v2/sites/{site_id}" headers = {"Authorization": "<api-key>"} response = requests.delete(url, headers=headers) print(response.text)
{ "errors": [ { "field": "<string>", "message": "<string>" } ] }
Delete a site and remove all of its data
Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.
Successful Response