---
title: "Replace the private current vehicle photo"
method: POST
path: "/api/v1/vehicles/{id}/photo"
tags: ["Vehicles"]
---

# Replace the private current vehicle photo

`POST /api/v1/vehicles/{id}/photo`

## Request

- Base URL: `https://fleetkeep.co.uk`
- URL: `https://fleetkeep.co.uk/api/v1/vehicles/{id}/photo`
- Auth: OAuth 2 (authorization code, authorization URL `https://fleetkeep.co.uk/auth/oauth2/authorize`, token URL `https://fleetkeep.co.uk/auth/oauth2/token`, scopes: `vehicles:write`)

## Response `201`

Photo uploaded

- object
  - `photo` VehiclePhoto, required
    - `href` string, required
    - `fileName` string, required
    - `fileSize` integer, required
    - `contentType` 'image/jpeg' | 'image/png' | 'image/webp', required
    - `uploadedAt` string, date-time, required

## Other responses

- `400`: The request body or query was invalid.
- `401`: Missing or invalid Bearer access token.
- `403`: Token does not include the required scope.
- `404`: The requested resource does not exist on the authorised user's account, is the wrong event type, or is immutable history for this operation.
- `409`: Confirmation is required or the supplied confirmation is invalid, stale, replayed or bound to different content.
- `429`: Per-token rate limit exceeded (60 requests per minute).
- `503`: A required private storage, provider configuration or service dependency is unavailable.

---

[API](https://skmtc.dev/fleetkeep/apis/fleetkeep-api.md) · [All operations](https://skmtc.dev/fleetkeep/apis/fleetkeep-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fleetkeep/apis/fleetkeep-api/revisions/ace19bc0d64d?raw)
