Skip to main content
DELETE
Detach security group from VM NIC
Updated May 8, 2026

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Headers

X-Project-ID
string<uuid>
required

Project ID. Required for all mutating operations (create, delete, power actions, resize).

Path Parameters

id
string<uuid>
required

VM ID (UUID)

sg_id
string<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_id
integer
required

Network interface ID. Get it from the nic_id field of GET /api/v1/vms/{id}/networks.

Response

Security group detached

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"

Last modified on May 8, 2026