---
title: "Update a policy"
method: PUT
path: "/v1/policy/{handle}"
tags: ["Policy"]
---

# Update a policy

`PUT /v1/policy/{handle}`

## Request

- Base URL: `https://checkout-api.frisbii.com`
- URL: `https://checkout-api.frisbii.com/v1/policy/{handle}`
- Auth: none declared

Updates an existing policy with the provided details

## Path parameters

- `handle` string, required

## Request body

- UpdatePolicyDto: Data for updating an existing policy
  - `name` string, required: Name of the policy
  - `text` string: Full text content of the policy
  - `trackAcceptance` boolean: Whether to track acceptance of this policy

## Response `200`

Policy updated successfully

- PolicyDto: Policy
  - `handle` string, required: Per account unique identifier for the policy
  - `name` string, required: Name of the policy
  - `text` string: Full text content of the policy
  - `state` string, required: Current status of the policy
  - `trackAcceptance` boolean: Whether acceptance tracking is enabled for this policy
  - `created` string, date-time, required: Date and time of the creation of the policy.
  - `updated` string, date-time, required: Date and time of the late update of the policy.

## Other responses

- `404`: Policy not found
- `422`: Invalid input

---

[API](https://skmtc.dev/frisbii/apis/frisbii-checkout-api.md) - [All operations](https://skmtc.dev/frisbii/apis/frisbii-checkout-api/llms.txt) - [OpenAPI document](https://skmtc.dev/frisbii/apis/frisbii-checkout-api/revisions/43015ffd9dbb?raw)
