import osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.waap.domains.delete( 1,)
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 osfrom gcore import Gcoreclient = Gcore( api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted)client.waap.domains.delete( 1,)