curl --request DELETE \
--url https://{cluster}.voucherify.io/v1/vouchers/{code}/sessions/{sessionKey} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'Release Validation Session
Manually release the validation session lock for the voucher in the path. This undoes the lock described in the Locking validation session guide for that voucher only.
If several redeemables were locked with the same session key (for example in a stackable validation), this call removes the lock for the path voucher only. Other redeemables that still use the same session key stay locked. A session-released event is recorded only for the unlocked voucher, and only when a lock was actually removed.
Calling this endpoint again when the voucher no longer has that session lock still returns 204 and does not create another session-released event.
On a redeemable’s details Validations tab, Release session unlocks only that redeemable (same scope as this endpoint). To unlock the session for every redeemable that still holds the key, use Redemptions > Sessions. See Validations and redemptions.
curl --request DELETE \
--url https://{cluster}.voucherify.io/v1/vouchers/{code}/sessions/{sessionKey} \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'Authorizations
Path Parameters
A code that identifies the voucher or a unique voucher ID assigned by Voucherify.
"2CpRCE2c"
A unique session identifier.
Response
Returns no content when the request succeeds. This includes cases where the lock for this voucher was released, and cases where there was no remaining lock for this voucher and session key (for example the lock was already released or only other redeemables still hold the session). In the latter case, no new session-released event is created.

