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.waap.domains.delete(
1,
)
Copy
Ask AI
{}
Domains
Delete a domain
Delete an inactive domain by ID. Only domains with status ‘bypass’ can be deleted.
DELETE
/
waap
/
v1
/
domains
/
{domain_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.waap.domains.delete(
1,
)