Cancel voucher code

PUT
https://www.digicert.com/services/v2/voucher/{id}/cancel

Use this endpoint to cancel a voucher order. Use List all voucher orders to get the ID for your voucher order. See Cancel Vouchers for the complete list of conditions.

Example requests and responses

cURL
curl -X PUT \
  'https://www.digicert.com/services/v2/voucher/{id}/cancel' \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
204 No Content
// empty