Attach a Security Group to a Group
Attaches a single security group to the auto scaling group. Send the security group's id (from Available SGs) as security_group_id in the body. Call once per security group to attach more than one.
PUT
/api/v1/scaler/scalegroups/security_groups/{scaler_id}/Path parameters
scaler_idPathintegerrequiredThe
idof the auto scaling group, as returned by List.- required
- must be a valid auto scaling group ID
example12345
Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key used to authenticate the request.
- required
- non-empty string
example{{api_key}}locationQuerystringrequiredRegion of the group.
- required
- must be a valid region name (e.g., Delhi, Chennai)
example{{location}}
Request body
application/json
The security group to attach. Attach one security group per call.
ID of the security group to attach (from Available SGs).
example
12345- required
- must be a valid security group ID available to the group
Responses
200Successful response
Security group attach confirmation.
example
200example
Security Group Attaching Successfully