async fn revoke_share(
token: Path<Uuid>,
pool: Data<PgPool>,
user: AuthUser,
) -> ControllerResult<Json<bool>>Expand description
DELETE /api/v0/main-frontend/shared-submissions/{token} - Withdraws one share, after which the
link stops resolving.
Only the share’s creator may revoke it: holding the token is authority to view, not to withdraw.
Revoking an unknown or already-revoked share is a no-op, reported as false.