> ## 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.

# Remove Price Triggers

> Remove up to 10,000 triggers from a price webhook by id, idempotent. Free.

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

Removes up to 10,000 triggers by id. Idempotent: an id that is not there, or already removed, counts in `notIn`. A trigger that has already fired (`firing`, `delivered` or `failed`) is never reported as removed: it comes back in `alreadyFired` with its `status` and `firedAt`, so a stop-loss that just fired is never mistaken for a cancelled one. Free, and open when your credits run out.

```bash cURL theme={null}
curl -X POST 'https://api.serialized.xyz/v1/webhook/price/tpsl/remove' \
  -H 'Authorization: YOUR_API_KEY' -H 'Content-Type: application/json' \
  -d '{"ids":["order-8813","order-8812","order-0001"]}'
```

```json Response theme={null}
{
  "data": {
    "id": "tpsl",
    "removed": ["order-8813"],
    "notIn": ["order-0001"],
    "alreadyFired": [{ "id": "order-8812", "status": "delivered", "firedAt": 1792541400000 }],
    "rejected": []
  }
}
```


## OpenAPI

````yaml openapi.json POST /v1/webhook/price/{id}/remove
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}/remove:
    post:
      summary: Remove Price Triggers
      description: >-
        Removes up to 10,000 triggers by id. Idempotent: an id that is not
        there, or already removed, counts in `notIn`. A trigger that already
        fired comes back in `alreadyFired` with its `status` and `firedAt`,
        never in `removed`. Free, and open when your credits run out.
      operationId: price-webhook-remove
      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
              required:
                - ids
              properties:
                ids:
                  description: 1 to 10,000 trigger ids.
                  type: array
                  items: {}
                  example:
                    - order-8813
                  x-default:
                    - order-8813
      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.