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.security.profiles.delete(
0,
)
Copy
Ask AI
{}
Profiles
Delete profile
Delete protection profile. Protection is disabled at the same time as profile is deleted
DELETE
/
security
/
iaas
/
v2
/
profiles
/
{id}
Python
Copy
Ask AI
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.security.profiles.delete(
0,
)