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
Documentation IndexFetch the complete documentation index at: https://docs.rebase.energy/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.rebase.energy/llms.txt
Use this file to discover all available pages before exploring further.
Your API key. This is required to access our API programatically. You can view your API key in the Rebase dashboard.
Successful Response