Update location image
PATCH
/locations/{locationId}/images/{imageId}
Changes the category assigned to an existing image without uploading new file contents.
Use cases
- Correct the category after an image was uploaded.
Related endpoints
- GET /locations/{locationId}/images/{imageId} — inspect the current metadata.
- GET /locations/{locationId}/images — review the location gallery.
Parameters
Header Parameters
compatibility-date*
API compatibility date in YYYY-MM-DD format. Must be a date after 2025-11-01.
Type
Requiredstring
Example
"2025-11-02"Pattern
^\d{4}-\d{2}-\d{2}$organization-id*
Routes the request to the organization named by this ID. The bearer token must be authorized for that organization.
Type
Requiredstring
Example
"3b241101-e2bb-4255-8caf-4136c566a962"Min Length
1Max Length
40Path Parameters
locationId*
ID returned by POST /locations or GET /locations. It scopes location updates and image operations to one site.
Type
Requiredstring
Example
"2ABCDEFGHJKLMNPQRSTU"Min Length
1Max Length
40imageId*
ID returned in the image-id response header or images[]. Pair it with locationId to retrieve or update that image.
Type
Requiredstring
Example
"image-7f3a9c"Min Length
1Max Length
40Request Body
application/json
Choose the label that best matches the image content:
| Category | Use for |
|---|---|
CHARGER |
Charger hardware. |
ENTRANCE |
The site entrance or access route. |
LOCATION |
A general view of the site. |
NETWORK |
Charging-network branding. |
OPERATOR |
The site or charging-station operator. |
OTHER |
Content that does not fit another category. |
OWNER |
The site owner. |
Valid values
"CHARGER""ENTRANCE""LOCATION""NETWORK""OPERATOR""OTHER""OWNER"Responses
success.location.image.update
application/json