Config

upload OPA policy (server mode)

Changed on
put/config/api/opa/policy

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body application/x-www-form-urlencoded

server_urlstring

OPA server url

policy_idstring

Policy ID

bearer_tokenstring

Bearer token

contentstring required

Rego content

Response

OK

string required

Changes