Delete Image
DELETE/api/upload/:tenant_id/image/:filename
Delete an uploaded image from storage.
URL structure: /api/upload/{tenant_id}/image/{filename}
Args: tenant_id: Tenant ID for folder isolation filename: The image filename to delete web_context: Authenticated user context upload_service: Upload service instance with tenant context
Returns: Success message
Raises: 403: Forbidden - Cannot delete files from another tenant 404: Image not found 500: Internal server error
Request
Responses
- 200
- 422
Successful Response
Validation Error