v7

OpenAPI 3.1.0raw.githubusercontent.com2026-06-2200251.9 KB
Policies

Create or update a policy.

Saves the policy supplied in the request body under the given name, overwriting any existing policy of the same name. The policy is validated before it is stored. Admins may save into another user's account by passing that user's email as owner.

post/api/policies

Query parameters

namestring required
ownerstring

Headers

Authorizationstring required

Request body

cacheKeystring

Response

The policy was saved and is now active. A policy_activated audit event is recorded.