Update a policy

Changes some fields of a policy

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Project ID.

integer
required

Resource ID.

Body Params

Any subset of the policy's fields. Send only fields of the policy's own type: models and condition for RLS, columns for CLS. type may be sent only with the policy's current value.

string
length ≤ 255
string
enum
Allowed:
models
array of strings, unique
models
string | null
columns
array of objects, unique
columns
sessionProperties
array of objects

operator and comparisonValue are for CLS policies only. An RLS policy refuses them.

sessionProperties
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json