access control
Create or update access rule
If the given rule id matches an existing rule then the rule will be updated. If the rule id is omitted a new id will be generated and returned.
post/{collection}/access/rules
Path parameters
collectionstring required
Name of a collection
Request body
Example request
{
"id": 42,
"policyId": 2,
"publicMessage": "Access restricted",
"privateComment": "See correspondence",
"surts": [
"org,example)/"
]
}Response
OK