---
title: "Update Policy"
method: PATCH
path: "/v1/policy/{id}"
---

# Update Policy

`PATCH /v1/policy/{id}`

## Path parameters

- `id` string, uuid, required

## Request body

- PoliciesPatchModel
  - `policy_scope` string, nullable, required
  - `policy_type` string, nullable, required
  - `warn_date` string, date, nullable
  - `deny_date` string, date, nullable
  - `warn_days` integer, nullable
  - `deny_days` integer, nullable
  - `product_name` string, nullable
  - `project_name` string, nullable
  - `cycle` string, nullable
  - `cycle_operator` string, nullable
  - `notary_policy_json` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/xeol/apis/fastapi.md) · [All operations](https://skmtc.dev/xeol/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xeol/fastapi/revisions/545d83b42156/schema)
