Offers

Remove unsold keys

Remove all unsold keys from an offer. This action permanently deletes keys that have not been assigned to customers. Sold keys are preserved for record-keeping.

Authorization

Public key Secret key
x-fngs-public-key<token>

In: header

x-fngs-secret-key<token>

In: header

Path Parameters

offerId*string

Unique identifier (UUID) of the offer.

Formatuuid

Response Body

application/json

application/json

DELETE
/v0/offers/{offerId}/keys/removeAllUnsold
curl -X DELETE "https://example.com/v0/offers/550e8400-e29b-41d4-a716-446655440000/keys/removeAllUnsold"
{  "status": "success",  "data": {    "success": true  }}