> ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Delete all variants in a catalog > Deletes every variant in the specified catalog, removing both source and enriched data. This clears the entire catalog contents and cannot be undone. ## OpenAPI ````json DELETE /api/product-catalog/v1/catalogs/{catalogId}/variants/bulk/all { "openapi": "3.0.1", "info": { "title": "Product Catalog - Public API", "version": "1.0.3" }, "servers": [ { "url": "https://api.mapp.com" } ], "security": [ { "Keycloak": [] } ], "tags": [ { "name": "Variant Data Bulk Operations", "description": "Endpoints for variant data bulk operations" }, { "name": "Variant Data Operations", "description": "Endpoints for variant data operations" }, { "name": "Catalog Metadata Operations", "description": "Endpoints for catalog metadata operations" }, { "name": "Product Data Operations", "description": "Endpoints for product data operations" } ], "paths": { "/api/product-catalog/v1/catalogs/{catalogId}/variants/bulk/all": { "delete": { "tags": [ "Variant Data Bulk Operations" ], "summary": "Delete all variants in a catalog", "description": "Deletes every variant in the specified catalog, removing both source and enriched data. This clears the entire catalog contents and cannot be undone.", "operationId": "deleteAllCatalogData", "parameters": [ { "name": "catalogId", "in": "path", "description": "Catalog identifier whose variants should be deleted.", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "400": { "description": "Catalog variants delete was rejected during validation.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CatalogOperationResponseDTO" }, "example": { "catalog_id": 123, "status": "failed", "message": "Catalog variants delete failed: Product Catalog by catalogId 123 not found", "operation": "delete", "accepted_at": 1783502993000 } } } }, "202": { "description": "Catalog variants delete accepted for processing", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CatalogOperationResponseDTO" }, "example": { "catalog_id": 123, "status": "accepted", "message": "Catalog variants delete accepted for processing", "event_id": "550e8400-e29b-41d4-a716-446655440000", "operation": "delete", "accepted_at": 1783502993000 } } } }, "500": { "description": "Catalog variants delete failed unexpectedly.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorResponse" }, "example": { "message": "Unexpected error while processing request", "httpStatus": 500, "errorCode": "500 Internal Server Error", "timestamp": "2026-07-08T12:00:00Z" } } } } } } } }, "components": { "schemas": { "CatalogOperationResponseDTO": { "type": "object", "properties": { "catalog_id": { "type": "integer", "format": "int64", "example": 123 }, "status": { "type": "string", "enum": [ "accepted", "failed" ] }, "message": { "type": "string" }, "event_id": { "type": "string", "description": "Unique generated UUID assigned to the event and preserved throughout its whole lifecycle.\nThe event_id is used in logs and is also sent back to the client with webhook events when\nwebhooks are configured, so clients are advised to log/save it on their side.", "example": "550e8400-e29b-41d4-a716-446655440000" }, "operation": { "type": "string", "example": "delete", "enum": [ "add", "upsert", "partial_update", "delete", "delete_attributes", "add_existing_only", "overwrite", "overwrite_existing_only", "update", "update_existing_only", "update_localized_attribute", "update_localized_attribute_existing_only", "clean" ] }, "accepted_at": { "type": "string", "format": "date-time" } } }, "ErrorResponse": { "type": "object", "properties": { "message": { "type": "string" }, "httpStatus": { "type": "integer", "format": "int32" }, "errorCode": { "type": "string" }, "timestamp": { "type": "string", "format": "date-time" } } } }, "securitySchemes": { "Keycloak": { "type": "http", "scheme": "bearer", "bearerFormat": "JWT" } } } } ````