def METHOD_NAME(user, product, team_user_id):
    # create
    product_teams = user.get("/api/v1/products/%s/teams" % product["id"])
    assert product_teams.status_code == 401
    res = user.post(
        "/api/v1/products/%s/teams" % product["id"], data={"team_id": team_user_id}
    )
    assert res.status_code == 401
    product_teams = user.get("/api/v1/products/%s/teams" % product["id"])
    assert product_teams.status_code == 401
    # delete
    delete_team = user.delete(
        "/api/v1/products/%s/teams/%s" % (product["id"], team_user_id)
    )
    assert delete_team.status_code == 401