Update a target
Changes the destination URL or its targeting rules.
Authentication
Authorizationstring
API key credential, sent as Key <base64(keyId:secret)>.
Path parameters
domain_id
route_id
target_id
Request
Request body for models.TargetPutObject
description
enabled
Whether the target may be resolved for the proxy. Omit to leave unchanged.
selectorValue
url
weight
Relative share for the weighted strategy. 0 removes the target from rotation; omit to leave unchanged.
Response
OK
body
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error

