v1
latestOpenAPI 3.1.02026-07-241765501.1 MBFacets
Delete facet configuration
🔐 This endpoint requires HTTP authentication (either Basic or Bearer). For authenticating with Bearer token, required scopes are: facets(w).
Delete facet configuration with specified facet_name. This does not delete the facet from items in your index you may have uploaded previously. Once a facet group's configuration is deleted, all configurations will return to their default values. This includes all facet option configurations (display name, position, etc) you may have defined for the facet group.
delete/v2/facets/{facet_name}
Path parameters
facet_namestring required
Example:Brand
Query parameters
keystring required
The key of the index to use.
Example:key_K2pX7vBnU0bgA5xp
sectionstring
The section of the index to use. Defaults to Products.
Example:Products
cstring
The ID of the client and version that the request is coming from, such as cio-js-2.90.
Example:cio-js-2.90
Response
OK
Example response
{
"name": "Brand",
"path_in_metadata": "data.brand",
"display_name": "Brand Name",
"sort_descending": true,
"position": 1,
"countable": true,
"data": {
"key": "value"
}
}