Change availability of a charger or connector
POST/chargers/:id/actions/change-availability
Sends an OCPP ChangeAvailability command to mark a charger or specific connector as available or unavailable.
Use Cases:
- Take chargers offline for maintenance without disconnecting OCPP
- Reserve connectors for specific users or time periods
- Implement scheduled availability (e.g., business hours only)
- Emergency shutdown of problematic chargers
- Control charger access during grid peak demand events
Availability Types:
- Operative: Charger/connector available for new sessions
- Inoperative: Charger/connector unavailable, rejects new sessions (existing sessions may continue)
Command Behavior:
- Command queued if charger offline, applied on reconnection
- Affects authorization decisions for new sessions
- Does not stop active charging sessions
- Connector-specific or charger-wide availability control
- Persistent across charger reboots (depends on charger firmware)
info
Use this to mark a charger or connector as available/unavailable. The charger must be online to apply the change immediately, otherwise the command queues until reconnection.
tip
To stop active sessions, use RemoteStopTransaction. ChangeAvailability only prevents new sessions from starting.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Standard success response for actions
Standard error response format
Standard error response format
Standard error response format
Standard error response format
Standard error response format