'Deactivate a service.
http://docs.rancher.com/rancher/v1.2/en/api/api-resources/service/#deactivate
:param service_id: The service to deactivate services for.
:type service_id: ``str``
:return: True if deactivate was successful, False otherwise.
:rtype: ``bool``'

def ex_deactivate_service(self, service_id):

    result = self.connection.request(('%s/services/%s?action=deactivate' % (self.baseuri, service_id)), method='POST')
    return (result.status in VALID_RESPONSE_CODES)
