v12

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-1811583196.1 KB
Networking

Delete security group

Delete a security group. The group must not be attached to any VM NIC. Detach it first via DELETE /api/v1/vms/{id}/security-groups/{sg_id}/{nic_id}.

delete/api/v1/security-groups/{id}

Path parameters

idstring uuid required

Security group ID (UUID).

Headers

X-Project-IDstring uuid required

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

Response

Security group deleted

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Operation completed successfully"
}