---
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-06-15** `a43309a19757` — 2 info
  - added the new optional request property `config/allowlistOptions/regexes`
  - added the optional property `report/config/allowlistOptions/regexes` to the response with the `200` status
- **2026-06-07** `ab886c377360` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-06-06** `c1a150309e52` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API
- **2026-06-03** `2cb0cc06631f` — 1 info
  - the endpoint scheme security `APIToken` was added to the API
- **2026-06-03** `d2c4124e0abe` — 1 info
  - the endpoint scheme security `APIToken` was removed from the API

[Full 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-service-production.skmtc.workers.dev/v1/apis/gleanwork/glean-api/revisions/fc186ea8fe2b/schema)
