---
title: "Withdraw a challenge while it is open and unanswered"
method: DELETE
path: "/workspaces/{id}/questions/{questionId}/challenges/{challengeId}"
tags: ["challenges"]
---

# Withdraw a challenge while it is open and unanswered

`DELETE /workspaces/{id}/questions/{questionId}/challenges/{challengeId}`

## Request

- Base URL: `https://api.swingfactor.ai/v1`
- URL: `https://api.swingfactor.ai/v1/workspaces/{id}/questions/{questionId}/challenges/{challengeId}`
- Auth: HTTP bearer

By whoever raised it, or by an editor where SwingFactor raised it. A resolved challenge, or one a change was asked for on, stays on the record; the history keeps a withdrawn one.

## Path parameters

- `id` string, uuid, required
- `questionId` string, uuid, required
- `challengeId` string, uuid, required

## Response `204`

No content.

## Other responses

- `401`: No token, or not a valid one: `unauthorized`.
- `403`: Not yours to withdraw: resolve it instead.
- `404`: No such challenge.
- `422`: It is resolved, or a change was asked for on it.

---

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