---
title: "Creates new policy"
method: POST
path: "/rest/api/v1/governance/data/policies"
tags: ["Governance"]
---

# Creates new policy

`POST /rest/api/v1/governance/data/policies`

Creates a new policy with specified specifications and returns its id.

## Response `200`

OK

## Other responses

- `403` — Permissions error
- `500` — Internal error

## Changes

- **2026-05-27** `35c36b2b6d97` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-05-27** `2ed9c7b7b8d9` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-05-21** `7e5f596e884d` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-05-21** `d3f35444d235` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API

[Change history](https://skmtc.dev/gleanwork/apis/glean-api/changes/rest/api/v1/governance/data/policies/post.md)

---

[API](https://skmtc.dev/gleanwork/apis/glean-api.md) · [All operations](https://skmtc.dev/gleanwork/apis/glean-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gleanwork/apis/glean-api/revisions/e2ac0910d165?raw)
