Skip to main content
Delete an upload. Only the owner can delete their uploads.

Request

curl -X DELETE https://fucksornot.com/api/upload/550e8400-e29b-41d4-a716-446655440000 \
  -H "Cookie: auth-token=YOUR_JWT_TOKEN"

Response

{
  "success": true,
  "message": "Upload deleted successfully"
}

Authorization

  • Users can only delete their own uploads
  • Admins can delete any upload via /api/admin/uploads/{id}

Errors

StatusDescription
401Not authenticated
404Upload not found (also returned if the upload exists but you’re not the owner, to avoid confirming its existence)
Deletion is permanent and cannot be undone. All associated votes and tags are also removed.