---
title: "Create Policy"
method: POST
path: "/api/governance/policies"
tags: ["governance", "governance"]
---

# Create Policy

`POST /api/governance/policies`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/governance/policies`
- Auth: none declared

## Cookies

- `session` string, nullable

## Request body

- PolicyCreate
  - `team_id` string, uuid, required
  - `database_id` string, uuid, required
  - `scope_type` string, required
  - `scope_database` string, required
  - `scope_schema` string, nullable
  - `scope_table` string, nullable
  - `scope_column` string, nullable
  - `permission` string, required
  - `catalog_edit` boolean

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
