'Perform service update
Before microversion 2.53, the body contains a host and binary value
to identify the service on which to perform the action. There is no
service ID passed on the path, just the action, for example
PUT /os-services/disable.'

@wsgi.Controller.api_version('2.1', '2.52')
@extensions.expected_errors((400, 404))
@validation.schema(services.service_update, '2.0', '2.10')
@validation.schema(services.service_update_v211, '2.11', '2.52')
def update(self, req, id, body):

    if api_version_request.is_supported(req, min_version='2.11'):
        actions = self.actions.copy()
        actions['force-down'] = self._forced_down
    else:
        actions = self.actions
    return self._perform_action(req, id, body, actions)
