# Detail: Delete Record Button

Users can delete records in the detail layout using the **Delete button**.

## Add the Delete button

The delete button is available on any Detail layout. Since deleting is a destructive process, the Delete button is removed by default. To add the button to your Detail layout:

1. Go to the Detail layout of any record
2. Click **Edit layout**
3. Click **Page buttons**
4. Toggle on **Delete** button

You will need to add the Delete button for each data table separately.

![Screenshot\_2022-06-06\_at\_15.11.38.png](https://support.stackerhq.com/hc/article_attachments/6756011016211)

## Delete a record

You can delete one record at a time. To delete a record:

1. Go to the Detail layout of a record you want to delete
2. Click the **Delete** button
3. Confirm the deletion

When you delete records in Stacker, they will be deleted in Airtable too. At the moment, we don't have logs or audit trails on who deleted the record.

**Security**

If you're using permissions, the ability to delete is turned off by default for everyone except admins. You can choose who can delete records in your table Permissions.

## Undelete records

Airable only: To retrieve deleted records, use the Base trash feature in Airtable. It's possible to restore records that have been deleted in the past seven days.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stackerhq.com/stacker-classic/layout-types/detail-layout/detail-delete-record-button.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
