public static function delete($path, $handlerMethod = null)
    {
        return self::factory($path, HttpMethods::DELETE, $handlerMethod);
    }
public static function delete($path, $handlerMethod = null)
    {
        return self::factory($path, HttpMethods::DELETE, $handlerMethod);
    }
public static function delete ( $ path , $ handlerMethod = null ) { return self :: factory ( $ path , HttpMethods :: DELETE , $ handlerMethod ) ; }
Returns pre-configured DELETE endpoint

@param $path
@param string $handlerMethod

@return ApiEndpoint
Returns pre - configured DELETE endpoint