---
updatedAt: 2025-10-01T13:24:58.000Z
agentTools:
  projectIndex: https://docs.quable.com/v5-EN/llms.txt
---

# /variants/{code}

Delete a variant

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "2d049f10adc518320a4a4ebeb07b64db5b919923",
    "title": "Quable PIM/DAM API v4"
  },
  "paths": {
    "/variants/{code}": {
      "delete": {
        "description": "Delete a variant",
        "tags": [
          "Variants"
        ],
        "responses": {
          "204": {
            "description": "Variant deleted successfully"
          },
          "404": {
            "description": "Variant not found"
          }
        },
        "parameters": [
          {
            "$ref": "#/components/parameters/code"
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://instance_name.quable.com/api_1.php"
    }
  ],
  "components": {
    "parameters": {
      "code": {
        "name": "code",
        "in": "path",
        "description": "Code of the element to retrieve",
        "required": true,
        "schema": {
          "type": "string"
        }
      }
    }
  }
}
```