Access
Update, enable or disable a policy
Changed onChanges a policy's name, description, networks, models, endpoints, Cedar text or enabled state, and returns it. Fields left out keep their values. Requires a signed-in session and the permission creating the policy needs.
Checked against the guardrail.manage permission for the resource it acts on. See Permissions for the roles and API key permissions that include it.
patch/v1/authz/policies/{policyId}
Request
- Base URLhttps://api.openrelay.inc
- URLhttps://api.openrelay.inc/v1/authz/policies/{policyId}
- AuthHTTP bearer
Path parameters
policyIdstring required
Request body
Response
Updated
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
endpoint added
- info