Skip to main content
Version: Next

RLSRestApi.put

clausestring

clause_description

descriptionstringnullable

description_description

filter_typestring

filter_type_description

Possible values: [Regular, Base]

group_keystringnullable

group_key_description

namestring

name_description

Possible values: non-empty and <= 255 characters

subjectsinteger[]

Subjects (users, roles, groups) associated with this RLS rule. For regular filters, the rule applies to these subjects. For base filters, these subjects are excluded from the filter.

tablesinteger[]

tables_description

Possible values: >= 1

RLSRestApi.put
{
"clause": "string",
"description": "string",
"filter_type": "Regular",
"group_key": "string",
"name": "string",
"subjects": [
0
],
"tables": [
0
]
}