Enforce API

POST /api/enforce

Changed on

Call Casbin Enforce API

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/enforce
  • Auth
    none declared

Query parameters

permissionIdstring

permission id

modelIdstring

model id

resourceIdstring

resource id

Request body

Object1970490xc000a2cd50False[] required

Response

The Response object

data11830xc000639290False
data212170xc0006392c0False
msgstring
namestring
statusstring
substring

Changes