---
title: "Revoke the intent's share token, invalidating all existing review links (sets intent_specs.share_token to null)."
method: DELETE
path: "/api/v1/intents/{id}/share"
tags: ["intents"]
---

# Revoke the intent's share token, invalidating all existing review links (sets intent_specs.share_token to null).

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

Revocation is unconditional once ownership is verified — 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

> 5 revisions in range; 1 could not be searched.

- **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-service-production.skmtc.workers.dev/v1/apis/pathmode/pathmode-api/revisions/e419abb0a327/schema)
