Skip to main content
PUT
/
v1
/
links
/
{linkId}
Update a link
curl --request PUT \
  --url https://linkryse.com/v1/links/{linkId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "archived": true,
  "tags": [
    {}
  ]
}
'

Path Parameters

The unique identifier of the link.

Body Parameters

url
string
The new destination URL.
archived
boolean
Whether the link should be archived.
tags
array
The new set of tags. Note: This overwrites existing tags.

Code Examples

cURL
curl --request PUT \
  --url https://linkryse.com/v1/links/link_123 \
  --header 'Authorization: Bearer sk_live_...' \
  --header 'Content-Type: application/json' \
  --data '{
    "url": "https://bing.com",
    "archived": true
  }'
Node.js
const updatedLink = await linkryse.links.update('link_123', {
  url: 'https://bing.com',
  archived: true
});