---
title: "Update Policy"
method: PUT
path: "/v1/governance/policies/{policy_id}"
tags: ["Governance Gateway"]
---

# Update Policy

`PUT /v1/governance/policies/{policy_id}`

## Request

- Base URL: `https://api.grafomem.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.grafomem.com/v1/governance/policies/{policy_id}`
- Auth: none declared

Update an existing governance policy.

## Path parameters

- `policy_id` string, required

## Request body

- UpdatePolicyRequest
  - `name` string, nullable
  - `description` string, nullable
  - `action` string, nullable
  - `config` object, nullable
  - `enabled` boolean, nullable
  - `priority` integer, nullable

## Response `200`

Successful Response

- PolicyResponse
  - `policy_id` string, required
  - `name` string, required
  - `description` string
  - `policy_type` string, required
  - `action` string, required
  - `config` object
  - `priority` integer
  - `enabled` boolean
  - `created_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/grafomem/apis/grafomem-cloud.md) · [All operations](https://skmtc.dev/grafomem/apis/grafomem-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/grafomem/apis/grafomem-cloud/revisions/a472af705375?raw)
