---
title: "/v1/links/:id"
method: POST
path: "/v1/links/{id}"
tags: ["Links"]
---

# /v1/links/:id

`POST /v1/links/{id}`

Update a specific link (don't know the ID? Fetch it using GET /v1/links).
Mind that in a Link entity you cannot change the domain and/or the slashtag after creation time. You will need to create another Link.

## Path parameters

- `id` string, required

## Headers

- `workspace` string

## Request body

- LinkUpdateRequest
  - `destination` string — The destination URL you want your branded short link to point to. Example: https://google.com
  - `title` string — A title you assign to the branded short link in order to remember what's behind it.

## Response `200`

200

- Link
  - `id` string
  - `title` string
  - `slashtag` string
  - `destination` string
  - `createdAt` string
  - `updatedAt` string
  - `shortUrl` string
  - `domain` object
    - `id` string
    - `fullName` string

## Other responses

- `404` — 404

---

[API](https://skmtc.net/rebrandly/apis/rebrandly-legacy.md) · [All operations](https://skmtc.net/rebrandly/apis/rebrandly-legacy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rebrandly/rebrandly-legacy/revisions/edc8d2ea0d88/schema)
