Skip to main content
DELETE
/
security-groups
/
{id}
Delete a security group
curl --request DELETE \
  --url https://console.cloudblast.io/api/v2/security-groups/{id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "HAS_SERVERS",
    "message": "Detach all servers before deleting the security group."
  }
}

Authorizations

Authorization
string
header
required

API token from your CloudBlast account settings. Pass as Authorization: Bearer <token>.

Path Parameters

id
integer
required

Security group ID

Response

Security group deleted