Skip to main content
DELETE
/
v1
/
vouchers
/
{code}
/
sessions
/
{sessionKey}
Release Validation Session
curl --request DELETE \
  --url https://{cluster}.voucherify.io/v1/vouchers/{code}/sessions/{sessionKey} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
This response does not have an example.

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

code
string
required

A code that identifies the voucher or a unique voucher ID assigned by Voucherify.

Example:

"2CpRCE2c"

sessionKey
string
required

A unique session identifier.

Response

Returns no content if the validation session was released successfully.

I