async def METHOD_NAME(
    client: TestClient,
    logged_user: UserInfoDict,
    user_role: UserRole,
    expected,
    disable_gc_manual_guest_users: None,
):
    resp = await client.post("/v0/auth/api-keys", json={"display_name": "foo"})
    data, errors = await assert_status(resp, expected)
    if not errors:
        assert data["display_name"] == "foo"
        assert "api_key" in data
        assert "api_secret" in data
        resp = await client.get("/v0/auth/api-keys")
        data, _ = await assert_status(resp, expected)
        assert sorted(data) == [
            "foo",
        ]