PATCH
/
dns
/
v2
/
zones
/
{name}
/
disable
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
response = client.dns.zones.disable(
    "name",
)
print(response)
{}

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

name
string
required

Response

200
application/json

DisableZoneResponse

The response is of type object.