API group · token scope domains
domains
20 operations in this group. A token for them needs the domains scope; read is enough for GET.
As commands:domain11
GET/domainsList domainsdomainsPOST/domainsAdd a hosted domaindomainsGET/domains/{name}Get a domaindomainsPATCH/domains/{name}Update a domain's settingsdomainsDELETE/domains/{name}Delete a domain and its subdomainsdomainsGET/domains/{name}/aliasesList a domain's aliasesdomainsPOST/domains/{name}/aliasesAdd an alias to a domaindomainsDELETE/domains/{name}/aliases/{alias}Remove an alias from a domaindomainsGET/domains/{name}/logs/{type}Read lines from a domain's access, error or PHP error logdomainsGET/domains/{name}/logs/{type}/contentGet a domain's access, error or PHP error log as base64domainsGET/domains/{name}/modsecGet a domain's ModSecurity modesdomainsPATCH/domains/{name}/modsecSet a domain's ModSecurity mode or its owner's choicedomainsGET/domains/{name}/modsec/disabled-rulesList disabled ModSecurity rules for a domaindomainsPOST/domains/{name}/modsec/disabled-rulesDisable ModSecurity detection rules for a domaindomainsDELETE/domains/{name}/modsec/disabled-rules/{rule}Remove a domain's setting that disables a ModSecurity ruledomainsGET/domains/{name}/modsec/requestsList requests ModSecurity blocked or would have blocked for a domaindomainsGET/domains/{name}/redirectsList a domain's path redirectsdomainsPOST/domains/{name}/redirectsAdd a path redirect to a domaindomainsDELETE/domains/{name}/redirects/{id}Remove a path redirect from a domaindomainsGET/domains/{name}/statsGet a domain's traffic statistics for a perioddomains