POST
/
api
/
public
/
product
/
delete
/
{promptBlockId}
Delete products
curl --request POST \
  --url https://api.vambe.me/api/public/product/delete/{promptBlockId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '[
  {
    "external_id": "<string>"
  }
]'

Headers

x-api-key
string
required

API key needed to authorize the request

Path Parameters

promptBlockId
string
required

The prompt block ID from which to delete the products

Body

application/json · object[]

The payload with external IDs of products to delete

external_id
string
required

External ID of product to delete

Minimum length: 1

Response

Products deleted successfully.