Targets
Create a new Target associated with an Upstream
Create a new Target associated with an Upstream
post/{workspace}/upstreams/{UpstreamIdForTarget}/targets
Path parameters
UpstreamIdForTargetstring required
ID or target of the Target to lookup
workspacestring required
Example:team-payments
The name of the workspace
Request body
Example request
{
"id": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
"target": "203.0.113.42",
"weight": 100
}Response
Successfully created Target
Example response
{
"id": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
"target": "203.0.113.42",
"upstream": {
"id": "5f1d7e76-2fed-4806-a6af-869984f025cb"
},
"weight": 100
}Changes
Changed in 1 of the 11 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 11 revisions, 1 has no diff computed.