Skip to main content
POST
Create a policy module

Authorizations

Authorization
string
header
required

An identity bearer token for a person or your backend. Capabilities are per member, per workspace. This credential can manage the workspace and can never authorize an action as an agent.

Path Parameters

workspace_slug
string
required

Body

application/json
name
string
required

Lowercase, dash separated. Unique per workspace.

Pattern: ^[a-z0-9]+(-[a-z0-9]+)*$
Example:

"vendor-allowlist"

description
string | null
rules
object[]

Response

The module.

data
object