Home Docs Workflow guides

Report, revoke, and delete a paste

Lifecycle controls
Workflow

Report, revoke, and delete a paste

Use reports for abuse, revocation tokens for anonymous cleanup, and authenticated deletes for owned pastes.

When to use it

Use this when

  • You created a paste and need to remove active service access.
  • You found abusive or unsafe content and need to notify moderators.
Steps

Do this

  1. Report third-party content Submit a reason and optional note. Repeated reports can automatically deindex public feed items while moderators review.
  2. Revoke anonymous pastes with the token Create responses include revocation_token. The web UI and CLI save it locally when possible.
  3. Delete owned pastes with auth Signed-in owners and API keys with paste:revoke can delete owned pastes without the revocation token.
Examples

Copyable commands

CLI report and revoke
pbca report 2EREFnGBXq --reason malware --note "downloads suspicious script"
pbca revoke 2EREFnGBXq
REST revoke and delete
curl -sS -X POST https://pastebin.ca/api/v1/pastes/2EREFnGBXq/revoke \
  -H 'content-type: application/json' \
  --data '{"token":"pbcrt_..."}'

curl -sS -X DELETE https://pastebin.ca/api/v1/pastes/2EREFnGBXq \
  -H "Authorization: Bearer $PBCA_API_KEY"
Operational notes

Keep in mind

  • Revoked and deleted pastes are tombstoned; blob cleanup happens after a grace period.
  • Reporting is not a way to recover or read private content.