---
title: "Protect Column"
method: POST
path: "/api/governance/protected-columns"
tags: ["governance", "governance"]
---

# Protect Column

`POST /api/governance/protected-columns`

## 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/protected-columns`
- Auth: none declared

Mask a column for everyone on its connection, admins and agent included.

## Cookies

- `session` string, nullable

## Request body

- ProtectedColumnCreate
  - `database_id` string, uuid, required
  - `scope_database` string, required
  - `scope_schema` string, required
  - `scope_table` string, required
  - `scope_column` string, required

## 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)
