OriginChainDB
Database endpoints

Delete a row policy

Deletes the row-level security policy for a role on a table.

DELETE /v1/tenants/{tenant}/db/rls

Remove a role's row filterRemoving a filter can change which rows that role may read.
  1. Identify the role and tableSelect the exact policy to remove.
  2. Delete the row policyRemove its stored predicate.
  3. Review resulting accessCheck remaining policies and grants for the role.

Before you start

Use your database bearer token.

Connection setup

Use an identity authorized to manage access in this tenant.

Path parameters

FieldTypeRequired
tenantstringRequired

Query parameters

FieldTypeRequired
tablestringRequired
rolestringRequired

Headers

FieldTypeRequiredDescription
x-oc-db-userstringOptionalActing database user (role, grant and row-policy checks). Send with x-oc-db-key.
x-oc-db-keystringOptionalAPI key of the x-oc-db-user user.

Read the result

deleted reports removal of this role's policy on the table. Removing a row filter can change what that role may read; review the role's grants and remaining policies separately.

Response statuses

HTTP status reference
StatusWhat to do
200OK
400Correct the request before retrying.
401Check the credential and Authorization header.
402Check feature access or available credits.
403Check tenant access, roles and permissions.
409Resolve the conflict before retrying.
429Honor Retry-After when present; back off.
500Check the outcome before retrying a write.
501Check deployment support for this operation.
503Honor Retry-After when present; check write outcomes.
© 2026 Silicoyn Technologies Pvt Ltd