app:record:delete
Soft-deletes a record by setting its deleted_at timestamp
Options
| Name | Type | Description |
|---|---|---|
org_id | string | The organization ID that scopes the operation |
user_id | string | The caller's user ID recorded in the record history |
schema | string | The name of the schema (database) that contains the table |
table | string | The name of the table that contains the record |
id | string | The unique identifier of the record to soft-delete |
Outputs
| Name | Type | Description |
|---|---|---|
id | string | The unique identifier of the deleted record |
Example
name: Delete a record
actions:
- name: deleted
component: app:record:delete
vars:
org_id: "{{ var.org_id }}"
user_id: "{{ var.user_id }}"
schema: content
table: articles
id: "{{ var.id }}"