{% extends "docs/base.html" %} {% block docs_content %}

Delete thread

Delete a thread from a repository.

Endpoints

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

Usage

curl \
  --request DELETE \
  --header "Authorization: Bearer $PEARING_API_TOKEN" \
  "$PEARING_API_URL/v1/teams/pearing/repos/pearing/threads/42"

Success

204 No Content. The thread is deleted and will no longer appear in listings or be accessible via get endpoints.

Errors

Common auth errors are documented on the API overview page.

{% endblock %}