Skip to main content
POST
/
v2
/
evses
/
{uid}
/
connectors
/
{connectorId}
/
change-availability
Updates the availability status of a connector.
curl --request POST \
  --url https://api.spirii.com/v2/evses/{uid}/connectors/{connectorId}/change-availability \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "Inoperative"
}
'
{
  "status": "Accepted",
  "description": "Connector availability change was applied successfully."
}

Authorizations

Authorization
string
header
required

Authorization: Bearer <SPIRII_API_KEY>

Path Parameters

uid
number
required

Uniquely identifies the EVSE

Example:

123456

connectorId
number
required

Identifier of the Connector within the EVSE

Example:

1

Body

application/json
type
enum<string>
required

This contains the type of availability change that the EVSE should perform.

Available options:
Inoperative,
Operative
Example:

"Inoperative"

Response

status
enum<string>
required

This indicates whether the EVSE is able to perform the availability change.

Available options:
Accepted,
Rejected,
Scheduled
Example:

"Accepted"

description
string
required

Description providing more details about the performed availability change.

Example:

"Connector availability change was applied successfully."