---
title: "Route Upsert Version Update Policy"
method: PUT
path: "/v1/update-check/flwr"
tags: ["Update Check"]
---

# Route Upsert Version Update Policy

`PUT /v1/update-check/flwr`

Create or update a flwr version update policy.

## Request body

- VersionUpdatePolicyUpsertRequest — Request schema for version update policy upsert.
  - `target_version` string, required — Target Flower version that should trigger an update notice.
  - `message_template` string, nullable — Optional message template with current_version, latest_version, and upgrade_hint placeholders.
  - `upgrade_hint` string, nullable — Optional upgrade hint shown to callers.
  - `active_from` string, date-time, nullable — Optional UTC timestamp after which this policy becomes active.
  - `is_enabled` boolean, nullable — Optional flag to enable or disable this policy.

## Response `200`

Successful Response

- VersionUpdatePolicyResponse — Response schema for version update policy.
  - `id` integer, required
  - `name` string, required
  - `message_template` string, required
  - `target_version` string, required
  - `upgrade_hint` string, required
  - `active_from` string, date-time, nullable, required
  - `is_enabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/flower/apis/superlink-api.md) · [All operations](https://skmtc.dev/flower/apis/superlink-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flower/superlink-api/revisions/58e8351486b3/schema)
