⌘K
Delete Verdict
DELETE /v1/verdicts/:id — Delete a debate and its associated data.
1 min read
Share
DELETE
/v1/verdicts/:idPermanently delete a debate and its verdict.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Required | The debate ID to delete. |
Example Request
bash
curl -X DELETE https://api.askverdict.ai/v1/verdicts/dbt_abc123 \
-H "Authorization: Bearer vrd_your_api_key"Response
Notes
- Deletion is permanent and cannot be undone
- You can only delete debates you own
- Running debates can be deleted (they will be cancelled)
- This operation is idempotent — deleting an already-deleted debate returns 200
Error Responses
| Code | Error | Description |
|---|---|---|
404 | NOT_FOUND | Debate not found or not owned by you |
401 | UNAUTHORIZED | Invalid API key |
Was this page helpful?