Update APIHandler.cs

Removed unused