---
title: "Update Share"
method: PATCH
path: "/api/v1/authz/shares/{share_id}"
tags: ["Authorization"]
---

# Update Share

`PATCH /api/v1/authz/shares/{share_id}`

Update the permission level of an existing share.

## Path parameters

- `share_id` string, uuid, required

## Request body

- ShareUpdate — Payload for updating an authz_share permission level.
  - `permission_level` 'read' | 'write' | 'execute' | 'admin', required

## Response `200`

Successful Response

- ShareRead — Serialized authz_share row returned by the API.
  - `created_at` string, date-time, required
  - `created_by` string, uuid, nullable, required
  - `id` string, uuid, required
  - `permission_level` 'read' | 'write' | 'execute' | 'admin', required
  - `resource_id` string, uuid, required
  - `resource_type` 'flow' | 'deployment' | 'project' | 'knowledge_base' | 'variable' | 'file', required
  - `scope` 'private' | 'team' | 'user' | 'public', required
  - `target_id` string, uuid, nullable, required
  - `target_name` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-21** `22962dc5e81b` — 1 info
  - added the optional property `target_name` to the response with the `200` status
- **2026-06-08** `a5c4fa6a88f7` — 1 info
  - endpoint added
- **2025-10-16** `9bd3e81318d7` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/langflow-ai/apis/langflow/changes/api/v1/authz/shares/:share_id/patch.md)

---

[API](https://skmtc.dev/langflow-ai/apis/langflow.md) · [All operations](https://skmtc.dev/langflow-ai/apis/langflow/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langflow-ai/langflow/revisions/22962dc5e81b/schema)
