Skip to main content
POST
/
v3
/
chargers
/
{charger}
/
settings
/
lock
Set Lock
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
}
'
Locks or unlocks the charger. When locked, the charger is set to Unavailable in OCPP and will not accept new charging sessions. Returns a 204 No Content response on success.
charger
string
required
The UUID of the charger.
enabled
boolean
required
Set to true to lock the charger (make unavailable) or false to unlock it (make available).