---
title: "Revoke several share links: by id, every link on one resource, or all of yours"
method: POST
path: "/api/preview/share/links/revoke"
tags: ["share"]
---

# Revoke several share links: by id, every link on one resource, or all of yours

`POST /api/preview/share/links/revoke`

## 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/share/links/revoke`
- 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`

## Request body

- union
  - object
    - `ids` string[], required: The link ids to revoke, 1 to 100.
  - object
    - `all` true, required: Revoke every link you created (up to 500 per call; `has_more` says when more remain). Public listing links are skipped.
  - object
    - `resourceId` string, required: Revoke every link to this capsule, Type or Collection.
    - `resourceType` 'capsule' | 'type' | 'collection' | 'project', required: The kind of resource.

## Response `200`

Successful response

- object
  - `has_more` boolean, required
  - `not_found` integer, required
  - `revoked` integer, required
  - `skipped_listing` integer, required

## Changes

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

[Operation history](https://skmtc.dev/symbol/apis/symbol-api/changes/api/preview/share/links/revoke/post.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)
