Links

Re-point or rename one link

The same handler as PATCH /api/v1/codes/{id}.

patch/api/v1/links/{id}

Request

  • Base URL: https://app.qrsalt.com
  • URL: https://app.qrsalt.com/api/v1/links/{id}
  • Auth: HTTP bearer

Query parameters

confirmstring

Optional. When sent it must be the code's name or its short link ending, or the request is refused.

Request body

namestring
destinationstring
payloadobject
notestring

What the destination history records. Defaults to "Changed via API".

domainstring nullable

Move the short link to a verified domain of this workspace, or back to ours with null. The old domain stops serving the code.

slugstring

The custom link on the code's domain; a blank string puts it back to the short code.

folderIdstring nullable
tagsstring[]
status'ACTIVE' | 'PAUSED'

Response

The code.

metaobject required

Changes

No recorded changes to this operation across all 1 revision of this API.