---
title: "Update share"
method: PATCH
path: "/shares/{id}"
tags: ["Shares"]
deprecated: true
---

# Update share

`PATCH /shares/{id}`

> **Deprecated.**

<!-- theme: info -->
> This API is deprecated.
> Please read our [documentation](https://docs.kisi.io/api/how_to_guides/manage_access_rights/assign_access_rights/) about how to manage access rights.

## Path parameters

- `id` integer, required

## Request body

- object
  - `share` object, required
    - `notify` boolean, nullable — Whether an email should be sent when this share is created or updated
    - `role_id` 'manager' | 'basic' — The role of the share
    - `valid_from` string, date-time, nullable — When the share starts to be valid at
    - `valid_until` string, date-time, nullable — When the share stops to be valid at

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Content

---

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