Skip to content

Commit 2d2d48f

Browse files
authored
Fix typo in update routes destination endpoint
There are two parameters with one and the same name. The second one should be "destination_guid" as it is in the rest routes-destinations-related endpoints.
1 parent 7ea3c9e commit 2d2d48f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/v3/source/includes/resources/routes/_update_destination.md.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Example Request
55
```
66

77
```shell
8-
curl "https://api.example.org/v3/routes/[guid]/destinations/[guid]" \
8+
curl "https://api.example.org/v3/routes/[guid]/destinations/[destination_guid]" \
99
-X PATCH \
1010
-H "Authorization: bearer [token]"
1111
-d '{"protocol": "http2"}'
@@ -44,7 +44,7 @@ Content-Type: application/json
4444
This endpoint updates the protocol of a route destination (app, port and weight cannot be updated)
4545

4646
#### Definition
47-
`PATCH /v3/routes/:guid/destinations/:guid`
47+
`PATCH /v3/routes/:guid/destinations/:destination_guid`
4848

4949
#### Optional parameters
5050

0 commit comments

Comments
 (0)