---
title: "Update a Link. Warning : This is a beta endpoint, the payload / response can change"
method: PUT
path: "/links/{id}"
tags: ["Document"]
---

# Update a Link. Warning : This is a beta endpoint, the payload / response can change

`PUT /links/{id}`

Replaces the Link resource.

## Path parameters

- `id` string, required

## Request body

- LinkLinkInputLinkInputUpdate
  - `attributes` unknown[] — In this example below, keys are corresponding to attribute control type
    - unknown
  - `sequence` integer

## Response `200`

Link resource updated

- LinkLinkOutputLinkOutput
  - `linkType` LinkTypeLinkTypeOutputLinkOutput
    - `id` string — This is the unique identifier of the resource
  - `origin` string
  - `target` string
  - `sequence` integer
  - `attributes` string[]
  - `dateCreated` string, date-time, nullable — This is an ISO datetime
  - `dateModified` string, date-time, nullable — This is an ISO datetime
  - `id` string — This is the unique identifier of the resource
  - `legacyId` integer

## Other responses

- `400` — Invalid input
- `404` — Resource not found
- `422` — Unprocessable entity

---

[API](https://skmtc.dev/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.dev/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/revisions/1641096abb34/schema)
