Skip to main content
DELETE
/
public
/
v1
/
catalog-search-service
/
catalogs
/
vendors
Delete Vendors
curl --request DELETE \
  --url https://api.topsort.com/public/v1/catalog-search-service/catalogs/vendors \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Body

application/json
ids
string[]
required

The IDs of the vendors to delete.

Minimum array length: 1

Response

Successful Response