From f45ae05ae96c5bea47c56dd4584f22c2d9641ee9 Mon Sep 17 00:00:00 2001 From: wvandeun Date: Wed, 25 Sep 2024 11:25:06 +0200 Subject: [PATCH] fix IpamIPAddressCreate mutation in getting started tutorial --- docs/docs/tutorials/getting-started/graphql-mutation.mdx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/docs/tutorials/getting-started/graphql-mutation.mdx b/docs/docs/tutorials/getting-started/graphql-mutation.mdx index 612e6feacc..425c963c04 100644 --- a/docs/docs/tutorials/getting-started/graphql-mutation.mdx +++ b/docs/docs/tutorials/getting-started/graphql-mutation.mdx @@ -54,6 +54,7 @@ mutation { ok object { id + hfid name { value } @@ -65,16 +66,14 @@ mutation { } ``` -Copy the ID of the newly created interface, we'll need it for the next query. - Add a new IP address connected to the new interface. ```graphql # Endpoint : http://127.0.0.1:8000/graphql/cr1234 mutation { - InfraIPAddressCreate( + IpamIPAddressCreate( data: { - interface: { id: "" }, + interface: { hfid: ["ord1-edge1", "Ethernet0"]}, address: { value: "192.168.0.2/24" } } ) {