> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapace.lk/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke a download link

> Stops a download link from working before it expires.

A pass that's already in a wallet stays there.

<ParamField path="id" type="string" required>
  The download link ID, starting with `dlink_`.
</ParamField>

<ParamField header="Idempotency-Key" type="string" required>
  A unique value for this request.
</ParamField>

### Response

Returns `204 No Content`.

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE https://api.tapace.lk/v1/download-links/dlink_Vb3Nq8Lm2Xr7Tk4Pz9Wc \
    -H "Authorization: Bearer $TAPACE_API_KEY" \
    -H "Idempotency-Key: 5c2e8a1d-9b4f-4c7a-a3e6-1d8f2b5c9e40"
  ```
</RequestExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.