Add a new destination to a load balancer. The destination starts enabled and will immediately begin receiving traffic according to the load balancer routing type.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Load balancer identifier
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Type of the backing service. APP - application. STATIC_SITE - static site. OBJECT_STORAGE - object storage bucket. EXTERNAL - external URL. LOAD_BALANCER - nested load balancer.
APP, STATIC_SITE, OBJECT_STORAGE, EXTERNAL, LOAD_BALANCER "APP"
Identifier of the backing service. Required for APP, STATIC_SITE, OBJECT_STORAGE, and LOAD_BALANCER types. Must not be set for EXTERNAL type.
1"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Traffic weight for weighted routing. Higher values receive proportionally more traffic.
0 <= x <= 10000100
External URL, required when service_type is EXTERNAL
"https://example.com"
Geographic latitude for GEO routing
-90 <= x <= 9037.7749
Geographic longitude for GEO routing
-180 <= x <= 180-122.4194
Default Response
Unique identifier for the destination
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Identifier of the backing service for this destination. Null for EXTERNAL type destinations.
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Type of the backing service. APP - application. STATIC_SITE - static site. OBJECT_STORAGE - object storage bucket. EXTERNAL - external URL. LOAD_BALANCER - nested load balancer.
APP, STATIC_SITE, OBJECT_STORAGE, EXTERNAL, LOAD_BALANCER "APP"
Whether this destination is currently receiving traffic
true
Traffic weight for weighted routing. Higher values receive proportionally more traffic.
0 <= x <= 10000100
External URL for EXTERNAL service type destinations
null
Geographic latitude for GEO routing
-90 <= x <= 90null
Geographic longitude for GEO routing
-180 <= x <= 180null
Timestamp when the destination was created, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2025-01-30T00:00:00.000Z"
Timestamp when the destination was last modified, in ISO 8601 format
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2025-01-30T00:00:00.000Z"