DELETE
/
cloud
/
v1
/
securitygroups
/
{project_id}
/
{region_id}
/
{group_id}
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
client.cloud.security_groups.delete(
    group_id="group_id",
    project_id=0,
    region_id=0,
)

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

group_id
string
required

Security group ID

Response

404

Security group not found