delete
Team
Function to execute the request to delete a team
Parameters
team
: the team to delete
on Success
: the action to execute if the request has been successful