Delete an export template
Soft-deletes an export template: the template and all of its revisions are marked as deleted and are no longer retrievable, but their data is retained. The operation runs asynchronously and returns 202 Accepted with a Content-Location header pointing to the operation resource. Poll GET /V2/operations/{operationId} for progress and the result. Returns 404 if the export template does not exist; no operation is created. You can only delete export templates you own. Global export templates can only be deleted by admin and internal users, and internal viewers can't delete at all.
AuthorizationBearer <token>
Productsup Keycloak JWT bearer token.
In: header
Path Parameters
id*integer
Export template ID
Response Body
application/json
application/json
application/json
curl -X DELETE "https://export-template-api.productsup.com/V2/export-templates/0"{
"operationId": "01980f10-5b04-7845-b0d5-66861c6cabb0",
"status": "queued"
}{
"errors": {
"message": "Resource access denied."
}
}{
"code": "NOT_FOUND",
"message": "string"
}How is this guide?