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

# Delete a product

> Deletes a product and its associated images.
    
This endpoint allows you to remove a product and all its associated data.

## Use Cases
- Remove discontinued products
- Clean up product catalog
- Delete test products

## Notes
- This action cannot be undone
- All product images will be deleted
- Associated data will be removed



## OpenAPI

````yaml /swagger.yml delete /api/v0/products/{id}
openapi: 3.0.0
info:
  title: Devdraft AI Payment & Business Management API
  description: >-

    A comprehensive payment processing and business management API that enables
    seamless integration of cryptocurrency and traditional payment methods.
        
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.devdraft.ai
    description: Production Server
security: []
tags: []
paths:
  /api/v0/products/{id}:
    delete:
      tags:
        - Products
      summary: Delete a product
      description: >-
        Deletes a product and its associated images.
            
        This endpoint allows you to remove a product and all its associated
        data.


        ## Use Cases

        - Remove discontinued products

        - Clean up product catalog

        - Delete test products


        ## Notes

        - This action cannot be undone

        - All product images will be deleted

        - Associated data will be removed
      operationId: ProductController_remove
      parameters:
        - name: id
          required: true
          in: path
          description: Product ID
          schema:
            type: string
      responses:
        '200':
          description: The product has been successfully deleted.
        '401':
          description: Unauthorized - Invalid API credentials
        '404':
          description: Product not found.
      security:
        - x-client-secret: []
        - x-client-key: []
components:
  securitySchemes:
    x-client-secret:
      type: apiKey
      in: header
      name: x-client-secret
      description: >-
        Your secret API key. Keep this secure and never expose it in client-side
        code.
    x-client-key:
      type: apiKey
      in: header
      name: x-client-key
      description: Your unique client API key. Obtain this from your Devdraft AI dashboard.

````