---
title: "Revert Action"
method: POST
path: "/api/v1/rules/revert/{action_log_id}"
tags: ["Budget Rules"]
---

# Revert Action

`POST /api/v1/rules/revert/{action_log_id}`

## Request

- Base URL: `https://api.adrex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adrex.ai/api/v1/rules/revert/{action_log_id}`
- Auth: HTTP bearer

Revert a previously applied action by restoring the original budget

## Path parameters

- `action_log_id` integer, required

## Request body

- RevertActionWithAccountRequest: Request to revert an action with account info
  - `account_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adrex/apis/adrex-ai.md) · [All operations](https://skmtc.dev/adrex/apis/adrex-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/adrex/apis/adrex-ai/revisions/4e6f0f0bc902?raw)
