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

# Delete Variant

> Deletes a variant. Returns 422 if the variant is referenced by pipeline items. Requires `products.delete`.



## OpenAPI

````yaml /api-reference/openapi/EvoAI-CRM-Service/variants.yaml delete /api/v1/products/{product_id}/variants/{id}
openapi: 3.0.4
info:
  title: Evolution Foundation - CRM Service - Product Variants
  description: |
    Nested management of product variants (size, plan tier, color, etc.).

    Available starting `v1.0.0-rc3`. See also: `products.yaml`.
  version: 1.0.0
servers:
  - url: https://api.evoai.app
  - url: http://localhost:3000
security: []
paths:
  /api/v1/products/{product_id}/variants/{id}:
    parameters:
      - name: product_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    delete:
      summary: Delete Variant
      description: >-
        Deletes a variant. Returns 422 if the variant is referenced by pipeline
        items. Requires `products.delete`.
      operationId: delete-variant
      responses:
        '200':
          description: Variant deleted successfully
        '422':
          description: Variant is in use and cannot be deleted
      security:
        - userApiKey: []
components:
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token

````

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