Delete an API

Deletes an API and its endpoints.