policies
Upsert a policy
Upsert a policy for a given id
put/policies/{id}
Request
- Base URL/v1 (relative, and the document’s source URL is not known)
- AuthAPI key in header Authorization
Path parameters
idstring required
Unique id of policy
Request body
Example request
{
"entities": [
"groups/role-admin"
],
"condition": {
"attribute": "collection_id",
"operator": "StringEquals",
"values": [
"v1"
]
}
}Response
Successfully updated an existing policy for a given id
Changes
No recorded changes to this operation across all 1 revision of this API.