---
title: "Cancel; a partial or no refund returns a confirmationToken, and preview: true holds a full refund too."
method: POST
path: "/api/bounties/{id}/cancel"
tags: ["Bounties"]
---

# Cancel; a partial or no refund returns a confirmationToken, and preview: true holds a full refund too.

`POST /api/bounties/{id}/cancel`

## Request

- Base URL: `https://rentahuman.ai`
- URL: `https://rentahuman.ai/api/bounties/{id}/cancel`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Replaces DELETE (deprecated).

## Path parameters

- `id` string, required

## Response `2XX`

Successful response.

- object

## Other responses

- `4XX`: Error response.

## Changes

- **2026-11-06** `cfda9a786cf6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rentahuman/apis/rentahuman-api/changes/api/bounties/:id/cancel/post.md)

---

[API](https://skmtc.dev/rentahuman/apis/rentahuman-api.md) - [All operations](https://skmtc.dev/rentahuman/apis/rentahuman-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rentahuman/apis/rentahuman-api/revisions/71b7d7fa7fe9?raw)
