---
title: "Revoke the public share link"
method: DELETE
path: "/posts/{id}/share"
tags: ["Posts"]
---

# Revoke the public share link

`DELETE /posts/{id}/share`

Removes the public share link from a post. Idempotent: returns 204 even if the post is not shared.

## Path parameters

- `id` string, required

## Response `204`

Public share link revoked

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Post not found
- `429` — Rate limit exceeded
- `500` — Internal server error

---

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