Modbot Docs
APIAPI referenceEvidence

Destroy evidence

POST/api/evidence/{hash}/destroy

Refcounted: content addressing means two case files can hold one object, so the case files still holding these bytes are named back rather than having their evidence quietly removed. caseId is the case file it is being destroyed from, withdrawn or not: that case file lets go of it as part of the destroy, and only the others stop it. There is no undo — no backend Modbot supports could implement one — and what survives is the hash, the size, the type, who destroyed it and why. Recorded as a fact against your account.

Needs the DestroyEvidence permission.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Path Parameters

hash*string
Length64 <= length <= 64

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/api/evidence/stringstringstringstringstringstringstringstringstringstringstri/destroy" \  -H "Content-Type: application/json" \  -d '{    "reason": "string"  }'
{  "destroyed": true,  "blockedByReports": [    "string"  ],  "message": "string"}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.