---
title: "Update share link by id"
method: PUT
path: "/shares/{id}"
tags: ["Share Management"]
---

# Update share link by id

`PUT /shares/{id}`

Updates the share with the specified id.

## Path parameters

- `id` string, required

## Request body

- Share
  - `id` string, required
  - `resource_id` string, uuid, required
  - `user_id` string, nullable
  - `expiration_dt` string, date-time, nullable
  - `is_revoked` boolean

## Response `200`

OK

---

[API](https://skmtc.net/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api.md) · [All operations](https://skmtc.net/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pai-os/personal-artificial-intelligence-operating-system-pai-os-api/versions/3c144b366e19/schema)
