---
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

---

[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)
