Skip to main content
PATCH
Update a link

Authorizations

Authorization
string
header
required

Workspace API key from Settings → API. Starts with tyl_.

Path Parameters

id
string<uuid>
required

Body

application/json
destination
string<uri>
slug
string
title
string
domainId
string<uuid>
folderId
string<uuid> | null
campaignId
string<uuid> | null
tags
note
string | null
utmSource
string | null
utmMedium
string | null
utmCampaign
string | null
utmTerm
string | null
utmContent
string | null
appendUtm
boolean
expiresAt
string<date-time> | null
iosUrl
string<uri> | null
androidUrl
string<uri> | null
fallbackUrl
string<uri> | null
password
string
clearPassword
boolean
redirectCode
enum<integer>
Available options:
301,
302,
307
rotations
object[]
Maximum array length: 3

Response

The updated link.

id
string<uuid>
title
string | null
slug
string
shortUrl
string<uri>
destination
string<uri>
domain
string
folderId
string<uuid> | null
campaignId
string<uuid> | null
tags
string[]
note
string | null
humanClicks
integer
clicks
integer
health
string
expiresAt
string<date-time> | null
passwordProtected
boolean
iosUrl
string | null
androidUrl
string | null
fallbackUrl
string | null
redirectCode
integer
utm
object
createdAt
string<date-time>
updatedAt
string<date-time>