Initiates vehicle-to-grid discharging on a connector. Only valid for V2G-capable hardware.
Related: if a discharge command is accepted but power doesn’t flow, see the V2G discharge initiated but power not flowing runbook in Diagnostic Runbooks.
curl --request POST \
--url https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/discharge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"discharge_power": 3,
"duration": 1800,
"min_soc": 20
}
'{
"code": 123,
"message": "<string>",
"data": {
"command_id": "<string>",
"status": "queued"
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telluspowergroup.com/llms.txt
Use this file to discover all available pages before exploring further.
OAuth2 client-credentials grant for operator-side integrations.
Obtain an access token by POSTing client_id and client_secret
to /v1/operator/oauth/token. Tokens are valid for 24 hours
(86,400 seconds).
Discharge command queued.
Standard response envelope. code is 0 on success and a non-zero
application code on error (see Error Codes — §14).
curl --request POST \
--url https://api.telluspower.example.com/v1/operator/devices/{device_id}/connectors/{connector_id}/discharge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"discharge_power": 3,
"duration": 1800,
"min_soc": 20
}
'{
"code": 123,
"message": "<string>",
"data": {
"command_id": "<string>",
"status": "queued"
}
}