New Orchly MCP & API are live. Build custom workflows with your SEO & AI visibility data.
DELETE /topics/{id}

Delete topic

Delete a topic. Requires `content:write`.

Authenticate with Authorization: Bearer obk_live_xxx. See authentication.

Parameters

NameInTypeRequiredDescription
X-Workspace-Id header string required The workspace to scope the request to. Can also be passed as a `workspace_id` query parameter.
id path string required

Responses

200 Deleted
FieldTypeDescription
deleted boolean
id string

Example request

curl --request DELETE \
  --url https://app.orchly.ai/api/v1/topics/:id \
  --header 'Authorization: Bearer obk_live_xxx' \
  --header 'X-Workspace-Id: ws_xxx'
const res = await fetch(`https://app.orchly.ai/api/v1/topics/${id}`, {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer obk_live_xxx',
    'X-Workspace-Id': 'ws_xxx',
  },
});
const data = await res.json();
import requests

resp = requests.delete(
    "https://app.orchly.ai/api/v1/topics/{id}",
    headers={
        "Authorization": "Bearer obk_live_xxx",
        "X-Workspace-Id": "ws_xxx",
    },
)
data = resp.json()

Example response

A 200 response. Dynamic fields are shown as their type.

{
  "deleted": true,
  "id": "string"
}