Skip to main content
PATCH
/
v2
/
temporary-evse-statuses
/
{id}
Update a Temporary EVSE Status
curl --request PATCH \
  --url https://api.spirii.com/v2/temporary-evse-statuses/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "temporaryStatus": "MAINTENANCE",
  "validFrom": "2025-04-23T10:00:00Z",
  "validTo": "2025-04-23T18:00:00Z"
}
'
{
  "id": 42,
  "temporaryStatus": "MAINTENANCE",
  "evseId": "DK*SPI*E123*1",
  "validFrom": "2023-01-01T12:00:00Z",
  "validTo": "2023-01-01T14:00:00Z"
}

Path Parameters

id
number
required

The ID of the Temporary EVSE Status to update

Body

application/json
temporaryStatus
enum<string>
Temporary EVSE status property.

Use Cases
- MAINTENANCE: Use this status when an EVSE is undergoing maintenance and should not be used by customers.
- COMMISSIONING: Use this status for EVSEs that are being set up or tested and are not yet ready for public use.
- BLOCKED: Use this status to temporarily prevent an EVSE from being used, for example, due to a fault or safety concern.
- RESERVED: Use this status to indicate that an EVSE is reserved for a specific user or time period.
Available options:
MAINTENANCE,
COMMISSIONING,
BLOCKED,
RESERVED
Example:

"MAINTENANCE"

validFrom
string

Start date and time of the Temporary EVSE Status. If unset, the current date and time will be used.

Example:

"2025-04-23T10:00:00Z"

validTo
string

End date and time of the Temporary EVSE Status. If unset, the temporary status will ramain until removed.

Example:

"2025-04-23T18:00:00Z"

Response

The Temporary EVSE Status has been successfully updated

id
number
required

The unique identifier for the Temporary EVSE Status

Example:

42

temporaryStatus
enum<string>
required

Status of the Temporary EVSE Status

Available options:
MAINTENANCE,
COMMISSIONING,
BLOCKED,
RESERVED
Example:

"MAINTENANCE"

evseId
string
required

The EVSE ID

Example:

"DK*SPI*E123*1"

validFrom
string

The start date and time of the Temporary EVSE Status

Example:

"2023-01-01T12:00:00Z"

validTo
string

The end date and time of the Temporary EVSE Status

Example:

"2023-01-01T14:00:00Z"