Entities: update
entities_updateChange an entity's public access, row-level security, and record-locking settings; omitted options keep current values. Use fields_update to modify fields or rename the entity.
Instructions
Update entity settings. Changes an entity's public, row-level security (RLS) and lock-new-records settings; any you leave out keep their current value. It cannot rename the entity or change its fields, so use fields_update for columns. Making an entity public lets anyone query its records without signing in. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rls | No | Enable/disable row-level security (true/false) | |
| name | Yes | Entity name to update | |
| public | No | Set public access (true/false) | |
| lock_records | No | Enable/disable record locking (true/false) |