curl --request POST \
--url https://app.plugchoice.com/api/v3/chargers/{charger}/settings/lock \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'curl --request POST \
--url https://app.plugchoice.com/api/v3/chargers/{charger}/settings/lock \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'Unavailable in OCPP and will not accept new charging sessions. Returns a 204 No Content response on success.
true to lock the charger (make unavailable) or false to unlock it (make available).