Request
Response
Authorization
- Users can only delete their own uploads
- Admins can delete any upload via
/api/admin/uploads/{id}
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X DELETE https://fucksornot.com/api/upload/550e8400-e29b-41d4-a716-446655440000 \
-H "Cookie: auth-token=YOUR_JWT_TOKEN"
const response = await fetch(
'https://fucksornot.com/api/upload/550e8400-e29b-41d4-a716-446655440000',
{
method: 'DELETE',
credentials: 'include' // sends the auth-token cookie
}
);
{
"success": true,
"message": "Upload deleted successfully"
}
/api/admin/uploads/{id}| Status | Description |
|---|---|
| 401 | Not authenticated |
| 404 | Upload not found (also returned if the upload exists but you’re not the owner, to avoid confirming its existence) |