AuthZEN Policies

Create Authzen Policy

Changed on

CreateAuthzenPolicy validates the CEL syntax (requiring a bool result) and stores a new, immutable policy revision for the app. The revision has no effect until a server's active_policy_id is set to it via Update.

post/api/v1/apps/{app_id}/authzen_policies

Request

  • Base URL
    https://example.conductor.one
  • URL
    https://example.conductor.one/api/v1/apps/{app_id}/authzen_policies
  • Auth
    HTTP bearer and OAuth 2
    Client credentials
    Token URL: /auth/v1/token

Path parameters

app_idstring required

App identifier.

Request body

descriptionstring

Free-text description of what this revision changes or is for.

displayNamestring

Display name for the policy revision.

Response

AuthzenServerServiceCreateAuthzenPolicyResponse returns the newly created policy revision.

Changes