curl --request DELETE \
--url https://api.topsort.com/public/v1/catalog-search-service/catalogs/categories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"<string>"
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Delete one or more categories from the catalog.
curl --request DELETE \
--url https://api.topsort.com/public/v1/catalog-search-service/catalogs/categories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
"<string>"
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}A valid API key generated in Topsort's UI. Use the TSE API key if calling auctions or events API, otherwise use the TSC API key.
The IDs of the categories to delete.
1["CAT-434", "CAT-231"]["e5fde3c3-7562-43aa-9388-8376a55f9578"]Successful Response
Was this page helpful?