Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) client.cloud.networks.subnets.delete( subnet_id="b39792c3-3160-4356-912e-ba396c95cdcf", project_id=1, region_id=1, )
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project ID
1
Region ID
Subnet ID
"b39792c3-3160-4356-912e-ba396c95cdcf"
OK
Was this page helpful?