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

> Delete one or more subscriptions by their IDs. Only subscriptions belonging to the authenticated user can be deleted.




## OpenAPI

````yaml openapi.json post /subscriptions/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:
  /subscriptions/delete:
    post:
      tags:
        - Alerts
      summary: Delete subscriptions
      description: >
        Delete one or more subscriptions by their IDs. Only subscriptions
        belonging to the authenticated user can be deleted.
      operationId: deleteSubscriptions
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkSubscriptionsJSONRequest'
            examples:
              single_subscription:
                summary: Delete single subscription
                value:
                  subscriptionIds:
                    - 507f191e810c19729de860ea
              multiple_subscriptions:
                summary: Delete multiple subscriptions
                value:
                  subscriptionIds:
                    - 507f191e810c19729de860ea
                    - 507f191e810c19729de860eb
                    - 507f191e810c19729de860ec
      responses:
        '200':
          description: Subscriptions deleted successfully
          content:
            application/json:
              schema:
                type: object
              examples:
                success:
                  summary: Successful deletion
                  value: {}
        '400':
          description: Bad request - validation error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
              examples:
                no_subscription_ids:
                  summary: No subscription IDs provided
                  value:
                    error: No subscription IDs provided
                invalid_request_body:
                  summary: Invalid request body format
                  value:
                    error: Request body validation failed
        '401':
          description: Unauthorized - invalid or missing authentication token
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '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:
    BulkSubscriptionsJSONRequest:
      type: object
      properties:
        subscriptionIds:
          type: array
          items:
            type: string
      additionalProperties: false
      required:
        - subscriptionIds
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````