delete-thread

Delete a thread from a repository

Auth

Authenticated

Example

pearing-cli delete-thread teams/platform/website 42
pearing-cli delete-thread website 42

Expected Response

Deletes the thread. The thread will no longer appear in listings or be accessible via get endpoints. Requires thread author or team member access.

Errors

  • 403 Forbidden when the caller lacks write access to the thread.
  • 404 Not Found when the repo or thread does not exist.

Common auth errors are documented on the CLI overview page.

Help Output

Delete a thread.

Deletes a thread. The thread will no longer appear in
listings or be accessible via get. Requires thread author
or team member access.

Example:

  delete-thread teams/platform/website 42

Usage: pearing-cli delete-thread <REPO> <NUMBER>

Arguments:
  <REPO>    Repo locator (`teams/<team_slug>/<repo_slug>` or `<username>/<repo_slug>`), or `<repo_slug>` for authenticated user
  <NUMBER>  Thread number

Options:
  -h, --help  Print help (see a summary with '-h')