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

# Update Policy

`PATCH /v1/policy/{id}`

## Request

- Base URL: `https://api.xeol.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeol.io/v1/policy/{id}`
- Auth: none declared

## 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/xeol-api.md) - [All operations](https://skmtc.dev/xeol/apis/xeol-api/llms.txt) - [OpenAPI document](https://skmtc.dev/xeol/apis/xeol-api/revisions/545d83b42156?raw)
