Skip to main content
PUT
Replace the app-availability policy

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Body

application/json
mode
enum<string>
required
Available options:
open,
restricted
rules
object[]
required
Maximum array length: 1000

Response

The policy

mode
enum<string>
Available options:
open,
restricted
rules
object[]