---
title: "POST /delete-topic"
method: POST
path: "/delete-topic"
tags: ["Topic API"]
---

# POST /delete-topic

`POST /delete-topic`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/delete-topic`
- Auth: none declared

delete a topic by id

## Query parameters

- `id` string, required

## Response `200`

{bool} bool Delete success or failure

## Changes

- **2026-07-17** `c21c4387b897`: 2 info
  - api tag `Topic API` added
  - api tag `github.com/casbin/casnode/controllersApiController` removed
- **2021-06-17** `023a7e383f67`: 2 info
  - api tag `github.com/casbin/casnode/controllersApiController` added
  - api tag `Topic API` removed

[Operation history](https://skmtc.dev/casdoor/apis/casdoor-casnode-api/changes/delete-topic/post.md)

---

[API](https://skmtc.dev/casdoor/apis/casdoor-casnode-api.md) - [All operations](https://skmtc.dev/casdoor/apis/casdoor-casnode-api/llms.txt) - [OpenAPI document](https://skmtc.dev/casdoor/apis/casdoor-casnode-api/revisions/96a96feb975e?raw)
