Skip to main content
Replace an environment’s complete ordered policy list. An empty list removes every policy. The operation is atomic and accepts at most 50 policies.

Usage

Flags

string
required
Project ID or slug.
string
required
Application ID or slug.
string
required
Environment ID or slug.
JSON string
required
The complete policy list in evaluation order. Each policy requires name and enabled, and exactly one of keyauth, ratelimit, firewall, or openapi.

Global Flags

Examples

See the API reference.
Last modified on July 23, 2026