Skip to main content
PATCH
Update target group health checks, framing, or stickiness
Requires the IAM action loadbalancer:UpdateTargetGroup. See LOADBALANCER permissions for the full list, what each one covers, and an example policy.

Authorizations

Authorization
string
header
required

An OAuth 2.0 bearer token, sent as Authorization: Bearer <token>. This is the recommended way to authenticate.

Get one by exchanging a service account's access key pair at POST /v1/oauth/token with grant_type=client_credentials. It is the standard client-credentials grant, so any OAuth-aware library will obtain and refresh it for you.

Tokens last an hour by default. The same access key pair is separately your AWS SigV4 credential for the S3-compatible object endpoint, which speaks nothing else.

Path Parameters

id
string
required

UUID, CRN or exact account-scoped name

Example:

"b8c9d0e1-f2a3-4456-b7c8-d9e0f1a2b3c4"

Body

application/json

Names are fixed at creation because they form the CRN used by IAM policies. Sending name in an update, including an unchanged, empty or null value, returns a validation error.

health_check
object
proxy_protocol
boolean

Toggle PROXY v2 framing on upstream connections. Omitting the field leaves the current setting; setting true/false flips it explicitly.

session_affinity
object

Replaces the stickiness config. Omitting the field leaves it alone; turning it off is an explicit {"type": "none"}.

tags
object
Example:

Response

OK

target_group
object