---
title: "Update Share"
method: PATCH
path: "/v1/share/{share_token}"
tags: ["share"]
---

# Update Share

`PATCH /v1/share/{share_token}`

## Request

- Base URL: `https://api.evidenso.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.evidenso.com/v1/share/{share_token}`
- Auth: HTTP bearer

Update share settings.

- **is_active**: Enable/disable the share
- **expires_in_days**: Update expiration (0 = remove expiration)

## Path parameters

- `share_token` string, required

## Request body

- UpdateShareRequest: Request to update share settings
  - `is_active` boolean, nullable: Whether share is active
  - `expires_in_days` integer, nullable: Update expiration (None = no change, 0 = remove expiration)

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/evidenso/apis/persona-rag-api.md) - [All operations](https://skmtc.dev/evidenso/apis/persona-rag-api/llms.txt) - [OpenAPI document](https://skmtc.dev/evidenso/apis/persona-rag-api/revisions/86408c178d4f?raw)
