record_delete
Last edit: Oct 13, 2026
Soft deletes a record (sets its deleted_at) and returns it. Raises an error when the record does not exist
record_delete(
form_name: String
id: ID!
table: String
): Record!
Arguments
form_name (String)
Deprecated, leave blank. Name of a legacy form that whitelists the
attributes that can be saved and runs its notifications and callbacks
id (ID)
ID of the record to delete
table (String)
Name of the table the record must belong to. Required unless
require_table_for_record_delete_mutation is set to false in app/config.yml
Type
Record
Record: a row of a table defined in app/schema, holding its values in properties