def create_domain_smarthost(self, domainid, data):
        """Create a domain smarthost"""
        return self.api_call(
            ENDPOINTS['domainsmarthosts']['new'],
            dict(domainid=domainid),
            body=data)