Delete reply version
Delete a specific version of a thread reply.
Endpoints
DELETE /api/v1/teams/{team_slug}/repos/{repo_slug}/threads/{number}/replies/{reply_number}/versions/{version}
DELETE /api/v1/users/{username}/repos/{repo_slug}/threads/{number}/replies/{reply_number}/versions/{version}
Authenticated
Usage
curl -X DELETE --header "Authorization: Bearer $GHIT_API_TOKEN" \
"$GHIT_API_URL/v1/teams/platform/repos/website/threads/42/replies/5/versions/2"
Success
204 No Content. If this was the last non-deleted version, the reply is now considered fully deleted and a reply-deleted event is emitted.
Errors
403 Forbiddenwhen repo access is denied or you are not the reply author.404 Not Foundwhen the version is not found or already deleted.