Skip to content

Area: Developers

DELETE

Delete a product

Path
/products/{docId}
Auth
Secret key · server only
DELETE
/products/{docId}
curl --request DELETE \
--url https://releva.ai/api/v0/products/DEMO-1001 \
--header 'Authorization: Bearer <token>'

Deletes the product whose stored id equals docId exactly (the id sent to POST /products, including any locale/market suffix). Asynchronous. An unknown id also answers 202.

docId
required
string

The product id as sent to POST /products. Percent-encode reserved characters.

Example

DEMO-1001

Accepted for asynchronous processing.

Media typeapplication/json
object
0

Example

{}

Authorization header missing, malformed, not a UUID, or unknown.

Media typeapplication/json
object
message
required

Human-readable error. Several validation errors are joined with a space.

string

Examples

{
"message": "Authorization header is missing."
}

The domain is disabled.

Media typeapplication/json
object
message
required

Human-readable error. Several validation errors are joined with a space.

string

Example

{
"message": "Domain is disabled. Please reach out to support@releva.ai to enable it."
}

Unexpected server error.

Media typeapplication/json
object
message
required

Human-readable error. Several validation errors are joined with a space.

string

Example

{
"message": "An internal error occurred."
}