Networking
Detach security group from VM NIC
Remove a security group from a specific NIC on a VM.
delete/api/v1/vms/{id}/security-groups/{sg_id}/{nic_id}
Path parameters
idstring uuid required
VM ID (UUID)
sg_idstring uuid required
Security group ID (UUID). Get it from the security_group_id field of GET /api/v1/vms/{id}/networks, or list all account security groups via GET /api/v1/security-groups.
nic_idinteger required
Network interface ID. Get it from the nic_id field of GET /api/v1/vms/{id}/networks.
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Response
Security group detached
Example response
{
"success": true,
"message": "Operation completed successfully"
}Changes
Changed in 1 of the 28 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○