---
title: "Update Vehicle Renewal Reminder"
method: PATCH
path: "/vehicle_renewal_reminders/{id}"
tags: ["Vehicle Renewal Reminders"]
---

# Update Vehicle Renewal Reminder

`PATCH /vehicle_renewal_reminders/{id}`

## Request

- Base URL: `https://secure.fleetio.com/api`
- URL: `https://secure.fleetio.com/api/vehicle_renewal_reminders/{id}`
- Auth: API key in header `Authorization` and API key in header `Account-Token`
- TypeScript: <https://skmtc.dev/fleetio/apis/fleetio-developer-api/docs/vehicle_renewal_reminders/:id/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update a Vehicle Renewal Reminder

## Path parameters

- `id` string, required

## Request body

- object
  - `vehicle_id` integer
  - `vehicle_renewal_type_id` integer
  - `next_due_at` string, date-time: The date and time at which this Renewal Reminder will be due next. We recommend using [ISO-8601](/docs/overview/date-formatting) formatted dates to avoid ambiguity.
  - `due_soon_at` string, date-time: The date and time at which this Renewal Reminder will be considered due soon. We recommend using [ISO-8601](/docs/overview/date-formatting) formatted dates to avoid ambiguity.
  - `due_soon_time_threshold_interval` integer: Used in conjunction with `due_soon_time_threshold_frequency`. Together they form a full due soon parameter eg; "1 week", "5 months", "10 years"
  - `due_soon_time_threshold_frequency` 'day' | 'week' | 'month' | 'year' | 'days' | 'weeks' | 'months' | 'years', nullable
  - `active` boolean: Whether this Renewal Reminder is active.
  - `custom_fields` CustomFields, nullable: *Full details on working with Custom Fields [here](/docs/overview/custom-fields).

## Response `204`

OK

## Other responses

- `401`: Request could not be authenticated
- `403`: Insufficient permission to perform this operation
- `404`: The requested resource could not be located
- `422`: Unprocessable Entity
- `500`: Something unexpected happened

---

[API](https://skmtc.dev/fleetio/apis/fleetio-developer-api.md) - [All operations](https://skmtc.dev/fleetio/apis/fleetio-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fleetio/apis/fleetio-developer-api/revisions/49558d744bd7?raw)
