---
title: "Change a person's access (view or edit)"
method: PATCH
path: "/api/preview/grants/{id}"
tags: ["share"]
---

# Change a person's access (view or edit)

`PATCH /api/preview/grants/{id}`

## Request

- Base URL: `https://symbol.chat` (the document declares no server; this is the origin it was published from)
- URL: `https://symbol.chat/api/preview/grants/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Secure-next-auth.session-token`
  - OAuth 2
    - Authorization code: `https://mcp.symbol.chat/authorize`
    - Token URL: `https://mcp.symbol.chat/token`

## Path parameters

- `id` string, required: UUID v4 string

## Request body

- object
  - `access` 'view' | 'edit', required: `view` lets the person read it; `edit` also lets them change a capsule's title, body and fields.

## Response `200`

Successful response

- object
  - `grant` object, required
    - `access` 'view' | 'edit', required: `view` lets the person read it; `edit` also lets them change a capsule's title, body and fields.
    - `created_at` string, required
    - `email` string, nullable, required
    - `id` string, required: UUID v4 string
    - `name` string, nullable, required
    - `pending` boolean, required: True until the person first opens Shared with me (shown as "Invited, not yet joined").
    - `resource_id` string, required: UUID v4 string
    - `resource_type` 'capsule' | 'type' | 'collection', required: The kind of resource: a capsule, a Type or a Collection.
    - `username` string, nullable, required

## Changes

- **2026-10-09** `c7729725d527`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/symbol/apis/symbol-api/changes/api/preview/grants/:id/patch.md)

---

[API](https://skmtc.dev/symbol/apis/symbol-api.md) - [All operations](https://skmtc.dev/symbol/apis/symbol-api/llms.txt) - [OpenAPI document](https://skmtc.dev/symbol/apis/symbol-api/revisions/3a2c4ebeab51?raw)
