def update_domain(self, domainid, data):
        """Update a domain"""
        return self.api_call(
            ENDPOINTS['domains']['update'],
            dict(domainid=domainid),
            body=data)
def update_domain ( self , domainid , data ) : return self . api_call ( ENDPOINTS [ 'domains' ] [ 'update' ] , dict ( domainid = domainid ) , body = data )
Update a domain