---
title: "Revoke the intent's share token and reset evidence disclosure to metadata-only."
method: DELETE
path: "/api/v1/intents/{id}/share"
tags: ["intents"]
---

# Revoke the intent's share token and reset evidence disclosure to metadata-only.

`DELETE /api/v1/intents/{id}/share`

Revocation atomically sets share_token to null and share_include_evidence to false. It is unconditional once ownership is verified and succeeds even if no token currently exists. No rate limiter on this route.

## Path parameters

- `id` string, required

## Query parameters

- `workspace_id` string

## Response `200`

Share token revoked; returns { success: true }

- object

## Other responses

- `401` — Missing/invalid API key or session
- `403` — Authenticated but lacks write scope
- `404` — Intent not found in this workspace
- `500` — Failed to revoke share link

## Changes

- **2026-08-23** `155c812b368b` — 4 info
  - added the optional property `details` to the response with the `401` status
  - added the optional property `details` to the response with the `403` status
  - added the optional property `details` to the response with the `404` status
  - added the optional property `details` to the response with the `500` status

[Change history](https://skmtc.dev/pathmode/apis/pathmode-api/changes/api/v1/intents/:id/share/delete.md)

---

[API](https://skmtc.dev/pathmode/apis/pathmode-api.md) · [All operations](https://skmtc.dev/pathmode/apis/pathmode-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pathmode/apis/pathmode-api/revisions/0f4a7b92b504?raw)
