> ## Documentation Index
> Fetch the complete documentation index at: https://docs.serialized.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Clear a Price Webhook

> Remove every active trigger of a price webhook at once; the webhook stays. Free.

`POST /v1/webhook/price/{id}/clear` · **Free**

Removes every active trigger of a price webhook, whatever their number. The webhook, its URL and its secret stay. Triggers that already fired keep their status. Free, and open when your credits run out.

```bash cURL theme={null}
curl -X POST 'https://api.serialized.xyz/v1/webhook/price/tpsl/clear' \
  -H 'Authorization: YOUR_API_KEY'
```

```json Response theme={null}
{
  "data": {
    "id": "tpsl",
    "removed": 2
  }
}
```


## OpenAPI

````yaml openapi.json POST /v1/webhook/price/{id}/clear
openapi: 3.1.0
info:
  title: Serialized Data API
  description: >-
    On-chain data for trading apps - tokens, candles, token filters. Built on
    our own indexers. 18 EVM chains + Solana, live.
  version: 0.1.0
servers:
  - url: https://demo.serialized.xyz
    description: 'Demo: no key needed, read endpoints, rate-limited per IP'
  - url: https://api.serialized.xyz
    description: 'Production: your API key in the Authorization header'
security:
  - apiKey: []
  - {}
paths:
  /v1/webhook/price/{id}/clear:
    post:
      summary: Clear a Price Webhook
      description: >-
        Removes every active trigger of a price webhook at once. The webhook,
        its URL and its secret stay. Free, and open when your credits run out.
      operationId: price-webhook-clear
      parameters:
        - schema:
            type: string
            x-default: tpsl
          in: path
          name: id
          required: true
          description: 'The price webhook id: yours, or the `wh_…` id we generated.'
          example: tpsl
      requestBody:
        required: true
        content:
          application/json:
            schema:
              additionalProperties: false
              type: object
              properties: {}
      responses:
        '200':
          description: Standard `{ data, meta }` envelope.
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: Authorization
      in: header
      description: Your raw API key (not needed on the demo server).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.