def METHOD_NAME(self, host, port):
    url = '{api}/user/{user}/state'
    res = requests.put(url=url.format(api=hu.url(host, port),
                                      user=hu.tmp_user_id()),
                       json={'isEnabled': 'true'},
                       headers=hu.tmp_user_header())
    assert res.status_code == 403
    res = requests.put(url=url.format(api=hu.url(host, port),
                                      user=hu.tmp_user_id()),
                       json={'isEnabled': 'true'},
                       headers=hu.header())
    assert res.status_code == 200