v1

latestOpenAPI 3.0.32026-07-1761731.6 KB

Execute the default decision given an input

post/

Query parameters

prettyboolean

If parameter is true, response will formatted for humans.

Headers

Accept-Encoding'gzip'

Indicates the server should respond with a gzip encoded body. The server will send the compressed response only if its length is above server.encoding.gzip.min_length value. See the configuration section

Request body

boolean required
OR
string required
OR
number required
OR
OR
object required

Example request

{
  "user": "alice",
  "action": "read",
  "object": "id123",
  "type": "dog"
}

Response

Success. Evaluating the default policy has the same response behavior as a successful policy evaluation, but with only the result as the response.

boolean required
OR
string required
OR
number required
OR
OR
object required

Example response

{
  "allow": true,
  "user_is_admin": true,
  "user_is_granted": []
}
All 6 operations