v1
latestOpenAPI 3.0.32026-07-26172157253.6 KBPermissions
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"
}
]
}
}