---
title: "Delete a reviewer"
method: DELETE
path: "/v1/erp/payouts/reviewers/{id}"
tags: ["Reviewer"]
---

# Delete a reviewer

`DELETE /v1/erp/payouts/reviewers/{id}`

## Request

- Base URL: `https://api.cardda.com`
- URL: `https://api.cardda.com/v1/erp/payouts/reviewers/{id}`
- Auth: HTTP bearer

Removes a reviewer assignment from its tradable (payable or purchase order).

Accessible to company admins, owners, and users with the finance role.

## Parameters

- `#/paths/~1v1~1erp~1payouts~1rules/get/parameters/0` (unresolved $ref)
- `#/paths/~1v1~1erp~1payouts~1rules~1%7Bid%7D/get/parameters/1` (unresolved $ref)

## Response `200`

The deleted reviewer.

- Reviewer
  - `id` string, uuid, required
  - `company_id` string, uuid, required
  - `user_id` string, uuid, required: The id of the user that is the reviewer.
  - `source_id` string, uuid, required: The id of the object being reviewed (payable or purchase order).
  - `source_type` string, required: The polymorphic type of the object being reviewed, e.g. `Erp::Payouts::Payable` or `Erp::Payouts::PurchaseOrder`.
  - `level` integer: The approval level of this reviewer in the review chain.
  - `enabled` boolean: Whether this reviewer is currently active in the review chain.
  - `approved` boolean: Whether this reviewer has approved. Derived server-side; not modifiable through the endpoints.
  - `current_status` 'comment' | 'file' | 'approval' | 'change_request': The current status of the review. This is not modifiable using the endpoints.
  - `user` User (unresolved $ref)
  - `role` string
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `404`: Reviewer not found

---

[API](https://skmtc.dev/cardda/apis/erp-api.md) - [All operations](https://skmtc.dev/cardda/apis/erp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cardda/apis/erp-api/revisions/0730ed26bc3c?raw)
