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

# Delete a watchlist

> Permanently deletes a watchlist. Any subscriptions created for this watchlist will be cascade-deleted as well.

This action cannot be undone.




## OpenAPI

````yaml openapi.json post /watchlists/delete
openapi: 3.0.0
info:
  title: Nevua Markets API
  version: 0.0.1
  license:
    name: ISC
    url: https://opensource.org/licenses/ISC
servers:
  - url: https://api.nevua.markets
    description: Production
security: []
tags: []
paths:
  /watchlists/delete:
    post:
      tags:
        - Watchlists
      summary: Delete a watchlist
      description: >
        Permanently deletes a watchlist. Any subscriptions created for this
        watchlist will be cascade-deleted as well.


        This action cannot be undone.
      operationId: deleteWatchlist
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteWatchListJSONRequest'
            examples:
              delete_request:
                summary: Delete watchlist request
                value:
                  watchListId: 507f1f77bcf86cd799439011
      responses:
        '200':
          description: Watchlist deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteWatchListJSONResponse'
              examples:
                success:
                  summary: Successful deletion
                  value: {}
        '400':
          description: Bad request - validation error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              examples:
                invalid_request:
                  summary: Invalid request format
                  value:
                    error: Invalid request body
        '401':
          description: Unauthorized - invalid or missing authentication token
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '404':
          description: Watchlist not found or doesn't belong to user
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              examples:
                not_found:
                  summary: Watchlist not found
                  value:
                    error: Watchlist not found or already deleted
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      security:
        - bearerAuth: []
components:
  schemas:
    DeleteWatchListJSONRequest:
      type: object
      properties:
        watchListId:
          type: string
      additionalProperties: false
      required:
        - watchListId
    DeleteWatchListJSONResponse:
      type: object
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````