---
title: "Update Approval"
method: PATCH
path: "/api/approvals/{approval_id}"
tags: ["approvals"]
---

# Update Approval

`PATCH /api/approvals/{approval_id}`

## Path parameters

- `approval_id` string, uuid, required

## Request body

- ApprovalUpdate
  - `status` string, nullable
  - `edited_payload` object, nullable

## Response `200`

Successful Response

- ApprovalOut
  - `id` string, uuid, required
  - `approval_type` string, required
  - `status` string, required
  - `record_id` string, uuid, nullable, required
  - `payload` object, nullable, required
  - `edited_payload` object, nullable, required
  - `telegram_message_id` integer, nullable, required
  - `telegram_chat_id` integer, nullable, required
  - `decided_by` string, uuid, nullable, required
  - `decided_at` string, date-time, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rethoric/apis/rethoric-os.md) · [All operations](https://skmtc.dev/rethoric/apis/rethoric-os/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rethoric/rethoric-os/revisions/76b6d39426f6/schema)
