saveIntegrationsView (view) {
    return new Promise((resolve, reject) => {
      fetch('api/view', {
        method: 'POST',
        headers: setReqHeaders({ 'Content-Type': 'application/json' }),
        body: JSON.stringify(view)
      }).then((response) => {
        return response.json();
      }).then((response) => {
        if (response.success) {
          this.getIntegrationViews();
          return resolve(response);
        } else {
          return reject(response.text);
        }
      });
    });
  }
Saves a list of integrations as a view
@param {Object} view - The view to save { name: String, integrations: [], canView: [roles], canEdit: [roles] }
@returns {Promise} - The promise that either resovles the request or rejects in error