Skip to main content
POST
Archive a link

Authorizations

Authorization
string
header
required

An API key (klk_...) or a Clerk session token. Both resolve to the same account and behave identically.

Path Parameters

id
string
required

The link id returned when the link was created.

Example:

"lnk_2YgQk1p8fT3mN7wCxRvBdLsHjZa"

Response

The link was archived.

Archiving removes a link from the dashboard. It does NOT stop it resolving, and it does not return the link to your quota. There is no delete.

id
string
required
archived
boolean
required