> ## Documentation Index
> Fetch the complete documentation index at: https://cobalt-55-abhishek.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Record

> Delete a single record from a persistent table.

Delete a single record from a persistent table by its `record_id`. Returns the deleted record.

## Authentication

<ParamField header="x-api-key" type="string" required>Your Refold API key.</ParamField>
<ParamField header="linked_account_id" type="string" required>The linked account that owns the table.</ParamField>

## Path Parameters

<ParamField path="table_id" type="string" required>The table ID.</ParamField>
<ParamField path="record_id" type="string" required>The record ID to delete (from [Get Records](/v3/api-reference/persistent-tables/get-records)).</ParamField>

## Response

<Tabs>
  <Tab title="200 OK">
    Returns the deleted record.
  </Tab>

  <Tab title="404 Not Found">
    <ResponseField name="status_code" type="integer">HTTP status code.</ResponseField>
    <ResponseField name="http_error_type" type="string">Error category.</ResponseField>
    <ResponseField name="error_code" type="string">Internal error code.</ResponseField>
    <ResponseField name="message" type="string">Human-readable error description.</ResponseField>
  </Tab>
</Tabs>

<ResponseExample>
  ```json 200 theme={null}
  {
    "record_id": "02cd01ca-c09f-4f91-893d-222ab529f585",
    "email": "jane@example.com",
    "stage": "new"
  }
  ```

  ```json 404 theme={null}
  {
    "status_code": 404,
    "http_error_type": "NOT_FOUND",
    "error_code": "SERVER_ERROR",
    "message": "Record not found"
  }
  ```
</ResponseExample>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://app.refold.ai/api/v2/public/tables/{table_id}/{record_id}" \
    -H "x-api-key: YOUR_API_KEY" \
    -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"
  ```
</RequestExample>
