Sign in

Delete post

documented

Delete a post by ID.

DELETE /posts/{post_id}.jsonPostsno 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/posts/{{$post_id}}.json" \
  -X DELETE \
  -H "Api-Key: {{DISCOURSE_API_KEY}}" \
  -H "Api-Username: {{$api_username}}" \
  -H "Accept: application/json"