> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmembrane.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Data Record

The `delete-data-record` function type deletes a data record by ID.

## Usage

This function type is used in Actions to provide access to data collection delete functionality.

## Configuration Example

```yaml theme={null}
name: Delete Task
key: delete-task
type: delete-data-record
config:
  dataSource:
    collectionKey: tasks
  # Required: record ID
  id:
    $var: $.input.taskId
```

## Configuration Parameters

* `dataSource` - Data source configuration
  * `collectionKey` - Identifier of the data collection to operate on
  * `collectionParameters` - Parameters passed to the collection methods
* `id` - Record ID to delete (supports formulas)

## Output Schema

```yaml theme={null}
type: object
properties:
  id:
    type: string
```
