Skip to main content
DELETE
/
v1
/
exports
/
{exportId}
Delete Export
curl --request DELETE \
  --url https://{cluster}.voucherify.io/v1/exports/{exportId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
  "code": 404,
  "key": "not_found",
  "message": "Resource not found",
  "details": "Cannot find export with id exp_2bYLdY2lQ2886wmYIHyeBWUZ",
  "request_id": "v-0ae2a97a399027d719",
  "resource_id": "exp_2bYLdY2lQ2886wmYIHyeBWUZ",
  "resource_type": "export"
}

Authorizations

X-App-Id
string
header
required
X-App-Token
string
header
required
Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

exportId
string
required

Unique export object ID of previously created export. This object can be a: voucher, redemption, publication, customer, order, points_expiration, or voucher_transactions.

Example:

"exp_2bYLdY2lQ2886wmYIHyeBWUZ"

Response

Returns no content if deletion is successful.