Skip to main content

Attach Security Group to K8

POST/api/v1/kubernetes/attach-security-group/{kubernetes_cluster_id}/

Path parameters

  • kubernetes_cluster_idPathintegerrequired

    Kubernetes ID

Query parameters

  • project_idQueryintegerrequired
  • locationQuerystringrequired

    Deployment region for the resource. Accepted values: Delhi, Chennai.

    Mumbai region has been discontinued. Delhi and Chennai are the only supported regions.

Request body

application/json

object
security_group_idsarrayrequired

A list of security group IDs to attach to the virtual machine.

Responses

200Successfully attached the security group
object
codeinteger
example200
dataobject
errorsobject
messagestring
exampleSecurity Group Attached Successfully