Delete an API

Deletes an API definition from the platform. The API must be stopped before it can be deleted.