Sign in

Delete category

documented

Delete a category.

DELETE /categories/{category_id}.jsonCategoriesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://discourse.org/categories/{{$category_id}}.json" \
  -X DELETE \
  -H "Api-Key: {{DISCOURSE_API_KEY}}" \
  -H "Api-Username: {{$DISCOURSE_API_USERNAME}}" \
  -H "Accept: application/json"