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

# Undo Config

> Custom rollback instructions stored alongside actions.

## Overview

UndoConfig is a backend concept — it is stored alongside actions automatically when the backend's rollback registry handles an action. You do not pass UndoConfig through the SDK.

For services not in the built-in rollback registry, the backend handles compensation via the `undoConfig` field stored on each action.

## Types

### `http-delete`

Sends a `DELETE` request to `url` with optional `headers`.

### `slack-correction`

Sends a `POST` request to `url` with optional `body`.

### `none`

Marks the action as intentionally non-reversible. No rollback is attempted.

> For custom integrations, see [Supported Integrations](/docs/sdk/supported-integrations) to check if your service has a built-in undo strategy.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.