Suger

Delete Product

DELETE https://api.suger.cloud/org/{orgId}/product/{productId}

The product is soft deleted (marked as DELETED status) in Suger service. only the products with non PUBLIC status are allowed to be deleted.

Parameters

NameInTypeRequiredDescription
orgId path string yes Organization ID
productId path string yes Product ID

Responses

200 — Empty string if deletion is successful

Content-Type: application/json

400 — Bad request error

Content-Type: application/json

404 — Not found error

Content-Type: application/json

500 — Internal server error

Content-Type: application/json

Example

Generated from this operation's schema. Values are placeholders — substitute your own ids, and set SUGER_TOKEN to a bearer token from the OAuth client-credentials exchange.

Request

curl -X DELETE 'https://api.suger.cloud/org/{orgId}/product/{productId}' \
  -H "Authorization: Bearer $SUGER_TOKEN"

Response — 200

"string"

Error — 400

"string"

View as Markdown · Interactive API reference

Spotted something wrong or out of date on this page? Tell us and we'll correct it.