Skip to main content
GET
/
v1
/
console
/
access
/
rules
List Rules
curl --request GET \
  --url http://localhost:8000/v1/console/access/rules \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "created_by": "<string>",
      "expires_at": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "is_expired": true,
      "reason": "<string>",
      "value": "<string>"
    }
  ],
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Enter your JWT access token

Query Parameters

include_expired
boolean
default:false

Response

Successful Response

data
BlockRuleResponse · object[] | null
message
string | null
success
boolean
default:true