access control
Create or update access policy
If the given id matches an existing policy then the policy will be updated. If the policy id is omitted a new id will be generated and returned.
post/{collection}/access/policies
Path parameters
collectionstring required
Name of a collection
Request body
Example request
{
"name": "Public",
"accessPoints": [
"public",
"staff"
]
}Response
OK