vtex_delete_category_from_subcollection
Removes a category from a VTEX subcollection configured through the Legacy CMS Portal; provide the subcollection and category IDs to update the collection.
Instructions
[DELETE] Delete category from subcollection | Category: Subcollection | Path: /api/catalog/pvt/subcollection/:subCollectionId/category/:categoryId | Description: >⚠️ There are two ways to configure collections, through Legacy CMS Portal or using the Beta Collection module. This endpoint is compatible with [collections configured through the Legacy CMS Portal] | Path params: subCollectionId, categoryId
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subCollectionId": "<subCollectionId>",
"categoryId": "<categoryId>"
},
"name": "vtex_delete_category_from_subcollection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| categoryId | Yes | Path parameter: categoryId | |
| subCollectionId | Yes | Path parameter: subCollectionId |