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
Response
The policy was saved and is now active. A policy_activated audit event is recorded.