v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Permissions

Get Realtime Permissions

Retrieve RLS policies for subscribe (channels) and publish (messages) operations

get/api/realtime/permissions

Response

Realtime RLS permissions

Example response

{
  "subscribe": {
    "policies": [
      {
        "policyName": "allow_authenticated_subscribe",
        "tableName": "channels",
        "command": "SELECT",
        "roles": [
          "authenticated"
        ],
        "using": "enabled = true"
      }
    ]
  },
  "publish": {
    "policies": [
      {
        "policyName": "allow_authenticated_subscribe",
        "tableName": "channels",
        "command": "SELECT",
        "roles": [
          "authenticated"
        ],
        "using": "enabled = true"
      }
    ]
  }
}