modifying upload to use a stream in memory instead of a temp folder and delete-site to use a new DELETE endpoint