---
title: "Update"
method: PATCH
path: "/landscapes/{landscapeId}/versions/{versionId}/share-link"
tags: ["Share Link"]
---

# Update

`PATCH /landscapes/{landscapeId}/versions/{versionId}/share-link`

## Path parameters

- `landscapeId` string, required
- `versionId` string, required

## Query parameters

- `resetShortId` boolean

## Request body

- ShareLinkPartial
  - `password` string, password
  - `protected` boolean

## Response `200`

OK

- object
  - `shareLink` ShareLink, required
    - `password` string, password
    - `protected` boolean, required
    - `draftId` string, nullable
    - `createdAt` string, date-time, required
    - `createdBy` 'user' | 'api-key' | 'notification-key' | 'service', required
    - `createdById` string, required
    - `id` string, required
    - `landscapeId` string, required
    - `shortId` string, required
    - `updatedAt` string, date-time, required
    - `updatedBy` 'user' | 'api-key' | 'notification-key' | 'service', required
    - `updatedById` string, required
    - `versionId` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `429` — Resource Exhausted
- `500` — Internal Server
- `503` — Service Unavailable

## Changes

- **2026-07-22** `0fe4f00b60cf` — 1 info
  - added the non-success response with the status `429`
- **2026-06-03** `181c90adca5e` — 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `503`

[Change history](https://skmtc.dev/icepanel/apis/icepanel-api/changes/landscapes/:landscapeId/versions/:versionId/share-link/patch.md)

---

[API](https://skmtc.dev/icepanel/apis/icepanel-api.md) · [All operations](https://skmtc.dev/icepanel/apis/icepanel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/icepanel/icepanel-api/revisions/a8ce98f67129/schema)
