'Enables or disables a user.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/identity/v2-ext/index.html#enable-disable-user'

def update_user_enabled(self, user_id, **kwargs):

    put_body = json.dumps({'user': kwargs})
    (resp, body) = self.put(('users/%s/enabled' % user_id), put_body)
    self.expected_success(200, resp.status)
    body = json.loads(body)
    return rest_client.ResponseBody(resp, body)
