[ 'require_authentication' => true, // will affect all routes. ], // your custom rest api 'custom' => [ 'path' => '/api', 'enabled' => false, ], // authentication 'auth' => [ // embed basic authentication handler 'basic' => true ] ];