---
title: "Revoke a widget"
method: DELETE
path: "/v1/widgets/{widget_id}"
tags: ["Account"]
---

# Revoke a widget

`DELETE /v1/widgets/{widget_id}`

## Request

- Base URL: `https://api.puntersedge.online`
- URL: `https://api.puntersedge.online/v1/widgets/{widget_id}`
- Auth: API key in header `X-API-Key`

Cost: 0 credits. Stop serving this widget. Any iframe still embedding it renders the
neutral "odds unavailable" frame from the next fill on — never an error page on someone
else's website. The row is kept (active=false) so its counters survive.

## Path parameters

- `widget_id` string, required: wgt_… from POST /v1/widgets.

## Headers

- `X-API-Key` string
- `X-RapidAPI-Proxy-Secret` string

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Missing or invalid API key. Send `X-API-Key`. See https://puntersedge.online/developers/errors
- `402`: Monthly credit allowance exhausted for this plan. Upgrade at https://puntersedge.online/api/pricing
- `422`: Validation Error
- `429`: Rate limit exceeded for this plan. Honour the `Retry-After` header (seconds) before retrying. See https://puntersedge.online/developers/rate-limits
- `500`: Unexpected server error. Safe to retry with backoff.

---

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