fbpx
PUThttps://api.spotinst.io/aws/ec2/group/{GROUP_ID}?accountId={ACCOUNT_ID}

Update kubernetes integration on group

URL Parameters

Parameter Type Description
GROUP_ID * String

The ID of the Elastigroup to update.

Example: sig-12345
ACCOUNT_ID * String

The Account ID of the Elastigroup to update.

Example: act-67890
Request

Headers
{
  "Content-Type": "application/json",
  "Authorization": "Bearer ${token}"
}
Body
Copied!
Downloaded!
 {
"group": {
    "name": "TestGroup",
    "thirdPartiesIntegration": {
        "kubernetes": {
            "clusterIdentifier": "test-k8s"
         }
      },
  }
}
Response

Body
Copied!
Downloaded!
"response": {
        "status": {
            "code": 200,
            "message": "OK"
        },
        "kind": "spotinst:azure:compute:group",
        "items": [
			{
            	"thirdPartiesIntegration": {
			        "kubernetes": {
					"clusterIdentifier": "test-k8s"
				}
			}
		],
        "count": 1
    }