Resource Policies
Create Resource Policy
Create a new resource policy
POST
Request Body
Optional client-provided ID. Format:
policy_{uuidv7}ID of the scope where policy is defined
Display name for the policy
Description of what this policy does
Resource or collection to target
Target type:
resource or collectionResource ID (when kind is
resource)Collection ID (when kind is
collection)Actions this policy applies to. Use
["*"] for all actions.Policy effect:
allow or denyHigher priority policies are evaluated first
JSON Logic condition to match the actor
JSON Logic condition to match request context