Api referenceEnergy
Stop the watches on a public charger
Stops your watches on one public charging location: the one-time watch and the watch that mails each time. The location stays in 'Mijn laadpalen'. Requires the alerts:write scope. It writes nothing else.
AuthorizationBearer <token>
API token from the Joulo dashboard, or an OAuth2 access token.
In: header
party_idstring
The operator's party id, from GET /public-chargers/watches.
Match
^[A-Za-z0-9]{2,3}$location_idstring
The location id, from GET /public-chargers/watches.
Length
length <= 64Response Body
curl -X POST "https://api.joulo.nl/functions/v1/api/public-chargers/watch/stop" \ -H "Content-Type: application/json" \ -d '{ "party_id": "GFX", "location_id": "ECBC966C-B948-40E2-A3FB-5F154E34EAD0" }'{
"stopped": 0,
"party_id": "string",
"location_id": "string",
"map_url": "http://example.com"
}Empty