Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) waap_domain_settings_model = client.waap.domains.settings.get( 1, ) print(waap_domain_settings_model.api)
{ "ddos": { "global_threshold": 25125, "burst_threshold": 5015, "sub_second_threshold": 512 }, "api": { "is_api": false, "api_urls": [ "api/v1/.*", "v2/.*" ] } }
Retrieve settings for a specific domain
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
The domain ID
x > 0
Successful Response
Settings for a domain.
Was this page helpful?