# cancel offer

`POST https://api.suger.cloud/org/{orgId}/offer/{offerId}/cancel`

Only the offer with status = "PENDING_ACCEPTANCE", "PENDING_CANCEL", "ACTIVE" or "USED" is allowed to cancel.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |
| `offerId` | path | string | yes | Offer ID |

## Responses

### 200 — OK

Content-Type: `application/json` · Schema: `WorkloadOffer`

### 400 — Bad request error

Content-Type: `application/json`

### 405 — Method not allowed

Content-Type: `application/json`

### 500 — Internal error

Content-Type: `application/json`

---

Interactive API reference: https://doc.suger.io/api/
