dist/corbel.with-polyfills.js
function(domain) {
                console.log('iamInterface.domain.update', domain);
                return this.request({
                    url: this._buildUriWithDomain(this.uri),
                    method: corbel.request.method.PUT,
                    data: domain
                });
            }
function(domain) {
                console.log('iamInterface.domain.update', domain);
                return this.request({
                    url: this._buildUriWithDomain(this.uri),
                    method: corbel.request.method.PUT,
                    data: domain
                });
            }
function ( domain ) { console . log ( 'iamInterface.domain.update' , domain ) ; return this . request ( { url : this . _buildUriWithDomain ( this . uri ) , method : corbel . request . method . PUT , data : domain } ) ; }
Updates a domain.

@method
@memberOf corbel.Iam.DomainBuilder

@param {Object} domain                    The domain data.
@param {String} domain.description        Description of the domain.
@param {String} domain.authUrl            Authentication url.
@param {String} domain.allowedDomains     Allowed domains.
@param {String} domain.scopes             Scopes of the domain.
@param {String} domain.defaultScopes      Default copes of the domain.
@param {Object} domain.authConfigurations Authentication configuration.
@param {Object} domain.userProfileFields  User profile fields.

@return {Promise} A promise or fails with a {@link corbelError}.
Updates a domain .