Delete comment
documentedDelete a comment.
POST /sites/{site}/comments/{comment_ID}/deleteCommentsno implementation yet0 runsNo 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://public-api.wordpress.com/rest/v1/sites/{{$site}}/comments/{{$comment_ID}}/delete" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-WP-API-Key: {{WORDPRESS_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"force_delete": {{$force_delete}}, "reason": "{{$reason}}", "note": "{{$note}}"}'