---
title: "UPDATE the duration of an existing license plate"
method: POST
path: "/v1/vehicles/{uuid}/licensePlates/{licensePlateUuid}/duration"
tags: ["Vehicle license plates"]
---

# UPDATE the duration of an existing license plate

`POST /v1/vehicles/{uuid}/licensePlates/{licensePlateUuid}/duration`

Change the timing of a specific license plate. Body is a map of fields to update.

## Path parameters

- `uuid` string, uuid, required
- `licensePlateUuid` string, uuid, required

## Request body

- DurationUpdateApiParams
  - `startDate` string, date-time
  - `endDate` string, date-time, nullable

## Response `200`

Successful operation.

- LicensePlateDto
  - `uuid` string, uuid
  - `plate` string
  - `duration` DurationDto
    - `startDate` string, date-time
    - `endDate` string, date-time
  - `active` boolean

## Other responses

- `400` — Bad request - information on the invalid fields will be provided in the response body
- `404` — Vehicle or assignment not found.
- `409` — The new license plate timing conflicts with one or multiple others. The conflicting license plates will be returned in an error response.

---

[API](https://skmtc.net/avrios/apis/fleet-api-specifications.md) · [All operations](https://skmtc.net/avrios/apis/fleet-api-specifications/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/avrios/fleet-api-specifications/revisions/78fc4b609513/schema)
