Skip to main content
PATCH
Update a short link

Authorizations

Authorization
string
header
required

A workspace API key: Authorization: Bearer osk_...

Headers

If-Match
string
required

The current revision in quotes, from the resource's ETag. Missing returns 428; out of date returns 412.

Example:

"\"a1b2c3\""

Path Parameters

Link ID.

Body

application/json
destination
string

An http, https, mailto or tel URL.

Maximum string length: 2048
Example:

"https://example.com/autumn-sale"

title
string | null
Maximum string length: 120
slug
string | null
Maximum string length: 60
Example:

"sale"

domain
string<uuid> | null
settings
object

Response

200 - application/json

Success

data
object