---
title: "Revoke share link"
method: DELETE
path: "/templates/{templateId}/share-link"
tags: ["Templates"]
---

# Revoke share link

`DELETE /templates/{templateId}/share-link`

Revokes the email's public view-in-browser link. The shared URL returns 404 immediately; sharing again later mints a different URL. Returns revoked=false when no link was active.

## Path parameters

- `templateId` string, required

## Response `200`

Share link revoked (or none was active)

- object
  - `success` boolean
  - `revoked` boolean — False when the email had no active public link.

## Other responses

- `401` — Unauthorized
- `404` — Template not found

---

[API](https://skmtc.net/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.net/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/revisions/fc5624c7d57a/schema)
