Delete reply

Delete a reply from a thread.

Endpoints

DELETE /api/v1/teams/{team_slug}/repos/{repo_slug}/threads/{number}/replies/{reply_number}
DELETE /api/v1/users/{username}/repos/{repo_slug}/threads/{number}/replies/{reply_number}

Success

204 No Content. If descendant replies still depend on the deleted reply's place in the conversation, subsequent thread reads show a deleted placeholder in that position.

Errors

  • 403 Forbidden when the caller is not the reply creator.
  • 404 Not Found when the repo, thread, or reply number does not exist.
  • 409 Conflict with reply_already_deleted if the reply is already deleted.