Skip to documentation

API · Topics

Delete Topic

Delete a topic (requires full access). Subscription cleanup may finish after the response.

DELETE/topics/{id}Full access

Request parameters

ParameterTypeDescription
id
path · required
stringOpaque resource id.

Request example

Set OPENSEND_BASE_URL=https://api.example.com and OPENSEND_API_KEY=os_replace_me on your server.

bash
curl -X DELETE "$OPENSEND_BASE_URL/topics/YOUR_id" \
  -H "Authorization: Bearer $OPENSEND_API_KEY"

Response

200 · application/json. Example IDs stand for IDs returned by your installation.

json
{
  "object": "topic",
  "id": "YOUR_ID",
  "deleted": true
}

Behavior and errors

At most 100 topics per team. Explicit contact preferences override defaults. The dashboard names the consent mode inversely to the API subscription value.

Use a full-access credential. Resource IDs belong to your team; an unknown or foreign resource returns 404. See authentication, errors, rate limits, and compatibility for the shared contract.