Skip to main content
PUT
Update a field-control policy

Authorizations

Authorization
string
header
required

A Barndoor API key, sent as Authorization: Bearer <key>. Keys are prefixed bdai_ and are opaque — do not attempt to decode one. Interchangeable with an OAuth 2.0 access token.

Path Parameters

id
string
required

Identifier, a UUID

Body

application/json
directory_slug
string | null

Seeded directory slug (slack, gdrive). Required when rules contain when.

enabled
boolean | null
name
string | null
rules
any

Response

The updated field-control policy

created_at
string
required
created_by
string
required
enabled
boolean
required
id
string
required
mcp_server_id
string
required
name
string
required
org_id
string
required
rules
any
required
updated_at
string
required
updated_by
string
required
version
integer<int32>
required
catalog_unlisted_table_action
string | null

This server's override for tables no catalog-aware SQL rule covers. Absent when not set, which means the org default applies.