---
title: "Post templates: delete"
method: DELETE
path: "/post-templates/{id}"
tags: ["Post templates"]
---

# Post templates: delete

`DELETE /post-templates/{id}`

## Request

- Base URL: `https://api.misar.io/post`
- URL: `https://api.misar.io/post/post-templates/{id}`
- Auth: API key in header `Authorization`

`DELETE /post-templates/:id`. Requires an API key with the `posts:write` scope (dashboard sessions are not scope-checked).

## Path parameters

- `id` string, required

## Response `200`

Success.

- object

## Other responses

- `401`: Missing, malformed, revoked, or invalid API key/session.
- `402`: Plan limit: no active plan (any write; `reason: "no_active_plan"`), a monthly allowance is spent, or the feature is not on the caller's plan. Detect by `code: "plan_limit_exceeded"`.
- `403`: The API key lacks the scope this operation requires (`code: "insufficient_scope"`, `required_scope`).
- `429`: Per-user, per-route rate limit exceeded for this endpoint.

---

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