Skip to content

Commit 1a06682

Browse files
authored
Merge pull request #4456 from opsmill/wvd-20240925-fix-getting-started-tutorial
Fix IpamIPAddressCreate mutation in the GraphQL mutation section of the getting started tutorial
2 parents d2f5a69 + f45ae05 commit 1a06682

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/docs/tutorials/getting-started/graphql-mutation.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ mutation {
5454
ok
5555
object {
5656
id
57+
hfid
5758
name {
5859
value
5960
}
@@ -65,16 +66,14 @@ mutation {
6566
}
6667
```
6768

68-
Copy the ID of the newly created interface, we'll need it for the next query.
69-
7069
Add a new IP address connected to the new interface.
7170

7271
```graphql
7372
# Endpoint : http://127.0.0.1:8000/graphql/cr1234
7473
mutation {
75-
InfraIPAddressCreate(
74+
IpamIPAddressCreate(
7675
data: {
77-
interface: { id: "<INTERFACE Ethernet0 UUID>" },
76+
interface: { hfid: ["ord1-edge1", "Ethernet0"]},
7877
address: { value: "192.168.0.2/24" }
7978
}
8079
) {

0 commit comments

Comments
 (0)