Get OPAs Access Policies
GET/sites/opa/accessPolicies
Returns a list of OPA Access Policies, can only be requested with ADMIN privileges
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
next string
Next page of results token
opaPolicies
object[]
List of OPA policies
siteId string
SiteId to apply OPA Policy to
policy string
OPA Policy in REGO format
{
"next": "string",
"opaPolicies": [
{
"siteId": "string",
"policy": "string"
}
]
}
Loading...