cPanel · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Cpanel Mod Security API
45 actions
45 updates
phrasing
extends
openapi/cpanel-modsecurity-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for cPanel's API. It is a proposal applied on top of the contract, not a document cPanel publishes.
What the actions change
x-apievangelist-phrasing
Targets 45 · first 16 shown; the file carries all of them
$.info
$.paths['/ModSecurity/disable_all_domains'].get
$.paths['/ModSecurity/disable_domains'].get
$.paths['/ModSecurity/enable_all_domains'].get
$.paths['/ModSecurity/enable_domains'].get
$.paths['/ModSecurity/has_modsecurity_installed'].get
$.paths['/ModSecurity/list_domains'].get
$.paths['/modsec_add_rule'].get
$.paths['/modsec_add_vendor'].get
$.paths['/modsec_assemble_config_text'].get
$.paths['/modsec_batch_settings'].get
$.paths['/modsec_check_rule'].get
$.paths['/modsec_clone_rule'].get
$.paths['/modsec_deploy_all_rule_changes'].get
$.paths['/modsec_deploy_rule_changes'].get
$.paths['/modsec_deploy_settings_changes'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Cpanel Mod Security API
version: 1.0.0
extends: openapi/cpanel-modsecurity-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 44
- target: $.paths['/ModSecurity/disable_all_domains'].get
update:
x-apievangelist-phrasing:
intent: Turn off ModSecurity for every domain
effect: write
questions:
- How do I disable ModSecurity across all of a cPanel account's domains at once?
- Can I switch off the web application firewall for every site on an account in one call?
instructions:
- text: Disable ModSecurity for all domains on this account.
- text: Turn off the web application firewall across every site.
method: generated
generated: '2026-11-26'
- target: $.paths['/ModSecurity/disable_domains'].get
update:
x-apievangelist-phrasing:
intent: Turn off ModSecurity for selected domains
effect: write
questions:
- How do I disable ModSecurity on just some of my domains?
- Can I switch off the firewall for specific domains without affecting the others?
instructions:
- text: Disable ModSecurity for domains {domains}.
slots:
domains: query.domains
- text: Turn off the web application firewall on {domains} only.
slots:
domains: query.domains
method: generated
generated: '2026-11-26'
- target: $.paths['/ModSecurity/enable_all_domains'].get
update:
x-apievangelist-phrasing:
intent: Turn on ModSecurity for all domains
effect: write
questions:
- How do I re-enable ModSecurity on every domain at once?
- Can I switch the web application firewall back on for all sites in one call?
instructions:
- text: Enable ModSecurity for all domains on this account.
- text: Turn the web application firewall back on for every site.
method: generated
generated: '2026-11-26'
- target: $.paths['/ModSecurity/enable_domains'].get
update:
x-apievangelist-phrasing:
intent: Turn on ModSecurity for selected domains
effect: write
questions:
- How do I re-enable ModSecurity on just some of my domains?
- Can I switch the firewall back on for specific domains only?
instructions:
- text: Enable ModSecurity for domains {domains}.
slots:
domains: query.domains
- text: Turn the web application firewall back on for {domains} only.
slots:
domains: query.domains
method: generated
generated: '2026-11-26'
- target: $.paths['/ModSecurity/has_modsecurity_installed'].get
update:
x-apievangelist-phrasing:
intent: Check whether ModSecurity is installed
effect: read
questions:
- Is ModSecurity installed on this server?
- How do I confirm the web application firewall is available?
instructions:
- text: Check whether ModSecurity is installed.
- text: Tell me if the web application firewall is available on this server.
method: generated
generated: '2026-11-26'
- target: $.paths['/ModSecurity/list_domains'].get
update:
x-apievangelist-phrasing:
intent: List ModSecurity status for each domain
effect: read
questions:
- What is the ModSecurity status of each of my domains?
- Which of my sites have the web application firewall enabled?
instructions:
- text: List ModSecurity status for every domain.
- text: Show which sites have the web application firewall on or off.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_add_rule'].get
update:
x-apievangelist-phrasing:
intent: Add a rule to a ModSecurity staging file
effect: write
questions:
- How do I stage a new ModSecurity rule without deploying it?
- Can I add a rule to a configuration file before deploying it?
instructions:
- text: Add rule {rule} to the {config} staging file.
slots:
rule: query.rule
config: query.config
- text: Stage a new ModSecurity rule {rule} in {config}.
slots:
rule: query.rule
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_add_vendor'].get
update:
x-apievangelist-phrasing:
intent: Add a vendor rule set to the server
effect: write
questions:
- How do I add a vendor rule set from a YAML metadata URL?
- Can I enable a vendor rule set when I add it?
instructions:
- text: Add the vendor rule set from {url}.
slots:
url: query.url
- text: Add vendor rules from {url} and set enabled to {enabled}.
slots:
url: query.url
enabled: query.enabled
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_assemble_config_text'].get
update:
x-apievangelist-phrasing:
intent: Add text to a ModSecurity config file
effect: write
questions:
- How do I append text to a ModSecurity configuration file?
- Can I add text to a config file without deploying it right away?
instructions:
- text: Add {text} to {config}.
slots:
text: query.text
config: query.config
- text: Append {text} to {config} with final set to {final}.
slots:
text: query.text
config: query.config
final: query.final
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_batch_settings'].get
update:
x-apievangelist-phrasing:
intent: Set several global ModSecurity settings at once
effect: write
questions:
- How do I turn on several global ModSecurity settings in one request?
- Can I change multiple ModSecurity configuration directives at once?
instructions:
- text: Set global ModSecurity setting {setting_id} to {state}.
slots:
setting_id: query.setting_id
state: query.state
- text: Batch-update ModSecurity settings {setting_id} with state {state}.
slots:
setting_id: query.setting_id
state: query.state
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_check_rule'].get
update:
x-apievangelist-phrasing:
intent: Validate a ModSecurity rule
effect: read
questions:
- How do I check that a ModSecurity rule is valid before adding it?
- Can I test a rule's syntax before staging it?
instructions:
- text: Validate ModSecurity rule {rule}.
slots:
rule: query.rule
- text: Check that {rule} is a valid ModSecurity rule.
slots:
rule: query.rule
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_clone_rule'].get
update:
x-apievangelist-phrasing:
intent: Copy a ModSecurity rule with a new ID
effect: write
questions:
- How do I duplicate an existing ModSecurity rule?
- Can I save a copy of a rule with a new rule ID?
instructions:
- text: Clone rule {id} from {config}.
slots:
id: query.id
config: query.config
- text: Copy the existing rule {id} in {config} as a new rule.
slots:
id: query.id
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_deploy_all_rule_changes'].get
update:
x-apievangelist-phrasing:
intent: Deploy all staged ModSecurity rule changes
effect: write
questions:
- How do I deploy every staged ModSecurity rule change at once?
- Does deploying all rule changes restart Apache automatically?
instructions:
- text: Deploy all staged ModSecurity rule changes.
- text: Apply every pending rule change and restart Apache.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_deploy_rule_changes'].get
update:
x-apievangelist-phrasing:
intent: Deploy staged changes to one ModSecurity config file
effect: write
questions:
- How do I deploy staged changes to a single ModSecurity configuration file?
- Can I apply rule changes to one config file without touching the others?
instructions:
- text: Deploy staged changes to {config}.
slots:
config: query.config
- text: Apply the pending rule changes in {config} and restart Apache.
slots:
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_deploy_settings_changes'].get
update:
x-apievangelist-phrasing:
intent: Deploy staged changes to modsec2.cpanel.conf
effect: write
questions:
- How do I deploy the staged changes to the global ModSecurity settings file?
- Can I push the staged modsec2.cpanel.conf changes to the live config?
instructions:
- text: Deploy the staged changes to modsec2.cpanel.conf.
- text: Apply the pending global ModSecurity settings.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_disable_rule'].get
update:
x-apievangelist-phrasing:
intent: Disable a ModSecurity rule
effect: write
questions:
- How do I disable a specific rule in a ModSecurity config file?
- Can I turn off one rule without touching the rest of the config?
instructions:
- text: Disable rule {id} in {config}.
slots:
id: query.id
config: query.config
- text: Turn off the {id} rule in {config}.
slots:
id: query.id
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_disable_vendor'].get
update:
x-apievangelist-phrasing:
intent: Disable a vendor rule set
effect: write
questions:
- How do I disable a vendor's rule set without touching its config files?
- Can I turn off a vendor rule set while keeping its config files enabled?
instructions:
- text: Disable vendor rule set {vendor_id}.
slots:
vendor_id: query.vendor_id
- text: Turn off the {vendor_id} vendor rule set.
slots:
vendor_id: query.vendor_id
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_disable_vendor_configs'].get
update:
x-apievangelist-phrasing:
intent: Disable a vendor's config files
effect: write
questions:
- How do I disable all of a vendor's configuration files?
- Can I turn off a vendor's config files without disabling the rule set?
instructions:
- text: Disable all configuration files for vendor {vendor_id}.
slots:
vendor_id: query.vendor_id
- text: Turn off the {vendor_id} vendor config files.
slots:
vendor_id: query.vendor_id
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_disable_vendor_updates'].get
update:
x-apievangelist-phrasing:
intent: Disable automatic updates for a vendor
effect: write
questions:
- How do I stop a vendor's rule set from updating automatically?
- Can I disable automatic updates for one vendor only?
instructions:
- text: Disable automatic updates for vendor {vendor_id}.
slots:
vendor_id: query.vendor_id
- text: Turn off auto-updates for the {vendor_id} vendor.
slots:
vendor_id: query.vendor_id
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_discard_all_rule_changes'].get
update:
x-apievangelist-phrasing:
intent: Discard all staged ModSecurity rule changes
effect: destructive
questions:
- How do I throw away every staged ModSecurity rule change at once?
- Can I clear all pending rule changes without deploying them?
instructions:
- text: Discard all staged ModSecurity rule changes.
- text: Throw away every pending rule change.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_discard_rule_changes'].get
update:
x-apievangelist-phrasing:
intent: Discard staged ModSecurity rule changes
effect: destructive
questions:
- How do I throw away the changes I staged to a ModSecurity config file?
- Can I remove the staged changes for one vendor's rules?
instructions:
- text: Discard staged changes for {config}.
slots:
config: query.config
- text: Remove the {config}.STAGE file so changes to {config} are lost.
slots:
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_edit_rule'].get
update:
x-apievangelist-phrasing:
intent: Stage edits to a ModSecurity rule
effect: write
questions:
- How do I change a single rule in a ModSecurity config file without touching the live file?
- Can I stage a new rule text for a rule ID?
instructions:
- text: Stage rule {rule} for rule {id} in {config}.
slots:
rule: query.rule
id: query.id
config: query.config
- text: Edit the {config} rule {id} to {rule}.
slots:
config: query.config
id: query.id
rule: query.rule
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_enable_vendor'].get
update:
x-apievangelist-phrasing:
intent: Enable a vendor's rule set
effect: write
questions:
- How do I turn on a vendor's rule set for ModSecurity?
- Can I enable a vendor's rule set without touching its config files?
instructions:
- text: Enable vendor {vendor_id}'s rule set.
slots:
vendor_id: query.vendor_id
- text: Turn on the {vendor_id} rule set.
slots:
vendor_id: query.vendor_id
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_enable_vendor_configs'].get
update:
x-apievangelist-phrasing:
intent: Enable a vendor's config files
effect: write
questions:
- How do I enable all the configuration files a vendor ships?
- Can I activate a vendor's config files so they are loaded?
instructions:
- text: Enable the {vendor_id} config files.
slots:
vendor_id: query.vendor_id
- text: Load every configuration file from vendor {vendor_id}.
slots:
vendor_id: query.vendor_id
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_enable_vendor_updates'].get
update:
x-apievangelist-phrasing:
intent: Enable a vendor's automatic updates
effect: write
questions:
- How do I get automatic updates for a vendor's rules?
- Can I turn on automatic updates for a vendor?
instructions:
- text: Enable automatic updates for vendor {vendor_id}.
slots:
vendor_id: query.vendor_id
- text: Turn on vendor {vendor_id} rule updates.
slots:
vendor_id: query.vendor_id
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_get_config_text'].get
update:
x-apievangelist-phrasing:
intent: Get a ModSecurity config file's contents
effect: read
questions:
- What does a particular ModSecurity config file contain?
- Can I read one vendor config file's text?
instructions:
- text: Show the contents of {config}.
slots:
config: query.config
- text: Get the text of ModSecurity config {config}.
slots:
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_get_configs'].get
update:
x-apievangelist-phrasing:
intent: List all ModSecurity config files
effect: read
questions:
- Which ModSecurity config files are on the server?
- Where are the vendor config files stored?
instructions:
- text: List all ModSecurity configuration files.
- text: Show every vendor config file in the modsec_vendor_configs directory.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_get_configs_with_changes_pending'].get
update:
x-apievangelist-phrasing:
intent: List config files with staged changes
effect: read
questions:
- Which ModSecurity config files have changes waiting to be committed?
- What config files have a .STAGE file?
instructions:
- text: List ModSecurity config files with staged changes.
- text: Show the config files that have pending changes.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_get_log'].get
update:
x-apievangelist-phrasing:
intent: Get ModSecurity audit log entries
effect: read
questions:
- What did ModSecurity block in the audit log?
- Can I pull the ModSecurity log from the MySQL database?
instructions:
- text: Get the ModSecurity audit log.
- text: Show the last 1000 ModSecurity log entries.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_get_rules'].get
update:
x-apievangelist-phrasing:
intent: Get rules from ModSecurity config files
effect: read
questions:
- What rules are in a particular ModSecurity config file?
- Can I list only the SecRule and SecAction directives from a config?
instructions:
- text: Get the rules from {config}.
slots:
config: query.config
- text: List only SecRule and SecAction directives from {config}.
slots:
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_get_settings'].get
update:
x-apievangelist-phrasing:
intent: Get the server's ModSecurity settings
effect: read
questions:
- What are the server-wide ModSecurity settings?
- Where are the global ModSecurity configuration settings stored?
instructions:
- text: Show the server's ModSecurity settings.
- text: Get the global ModSecurity configuration from modsec2.conf.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_get_vendors'].get
update:
x-apievangelist-phrasing:
intent: List configured ModSecurity vendors
effect: read
questions:
- Which ModSecurity vendors are configured on the server?
- What vendors have their rules enabled?
instructions:
- text: List the configured ModSecurity vendors.
- text: Show every vendor that ships ModSecurity rules.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_is_installed'].get
update:
x-apievangelist-phrasing:
intent: Check if the ModSecurity module is installed
effect: read
questions:
- Is the ModSecurity module installed on this cPanel server right now?
- Why would the ModSecurity installed check stop working after I disable the Web Server role?
- Can I verify the ModSecurity module is present before I try to manage its rules?
instructions:
- text: Return the ModSecurity module installation status for this server.
- text: Run the module status check to see if ModSecurity™ is installed.
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_make_config_active'].get
update:
x-apievangelist-phrasing:
intent: Add a config file include to make it active
effect: write
questions:
- How do I make a ModSecurity config file active?
- Can I add an include for a config file so it is loaded?
instructions:
- text: Add an include for {config} so it is active.
slots:
config: query.config
- text: Make the {config} config file active by including it.
slots:
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_make_config_inactive'].get
update:
x-apievangelist-phrasing:
intent: Remove a config file include to make it inactive
effect: destructive
questions:
- How do I stop a ModSecurity config file from being loaded?
- Can I remove an include for a config file?
instructions:
- text: Remove the include for {config} so it is inactive.
slots:
config: query.config
- text: Make the {config} config file inactive.
slots:
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_preview_vendor'].get
update:
x-apievangelist-phrasing:
intent: Preview a vendor's rule metadata
effect: read
questions:
- What does a vendor's rule metadata file contain?
- Can I preview a vendor's rule set before enabling it?
instructions:
- text: Preview the rule metadata at {url}.
slots:
url: query.url
- text: Show the vendor rule metadata from {url}.
slots:
url: query.url
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_remove_rule'].get
update:
x-apievangelist-phrasing:
intent: Remove a rule from a config file
effect: destructive
questions:
- How do I remove a single rule from a ModSecurity config file?
- Can I delete a rule by its ID?
instructions:
- text: Remove rule {id} from {config}.
slots:
id: query.id
config: query.config
- text: Delete the {config} rule {id}.
slots:
config: query.config
id: query.id
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_remove_setting'].get
update:
x-apievangelist-phrasing:
intent: Remove a global ModSecurity setting
effect: destructive
questions:
- How do I remove a global ModSecurity directive?
- Can I delete a setting by its ID?
instructions:
- text: Remove global setting {setting_id}.
slots:
setting_id: query.setting_id
- text: Delete the {setting_id} setting from modsec2.conf.
slots:
setting_id: query.setting_id
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_remove_vendor'].get
update:
x-apievangelist-phrasing:
intent: Remove a ModSecurity vendor
effect: destructive
questions:
- How do I remove a vendor and all its rules?
- Does removing a vendor also remove its config files and metadata?
instructions:
- text: Remove vendor {vendor_id}.
slots:
vendor_id: query.vendor_id
- text: Delete every rule, config and metadata file for {vendor_id}.
slots:
vendor_id: query.vendor_id
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_report_rule'].get
update:
x-apievangelist-phrasing:
intent: Submit a rule error report to a vendor
effect: write
questions:
- How do I report a false positive rule to its vendor?
- Can I send a rule error report with a message and row IDs?
instructions:
- text: Report rows {row_ids} to {email} with message {message} as {type}.
slots:
row_ids: query.row_ids
email: query.email
message: query.message
type: query.type
- text: 'Submit a {type} error report for rule {row_ids} to {email}: {message}.'
slots:
type: query.type
row_ids: query.row_ids
email: query.email
message: query.message
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_set_config_text'].get
update:
x-apievangelist-phrasing:
intent: Replace a ModSecurity config file
effect: write
questions:
- How do I overwrite the contents of a ModSecurity config file?
- Can I stage new config text for a ModSecurity file before deploying it?
instructions:
- text: Set the contents of ModSecurity config {config} to {text}.
slots:
config: query.config
text: query.text
- text: Replace the {config} config file with {text}.
slots:
config: query.config
text: query.text
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_set_setting'].get
update:
x-apievangelist-phrasing:
intent: Change a global ModSecurity setting
effect: write
questions:
- How do I turn a global ModSecurity setting on or off?
- Can I change a ModSecurity directive's state through the API?
instructions:
- text: Set ModSecurity setting {setting_id} to {state}.
slots:
setting_id: query.setting_id
state: query.state
- text: Change the global ModSecurity directive {setting_id} to {state}.
slots:
setting_id: query.setting_id
state: query.state
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_undisable_rule'].get
update:
x-apievangelist-phrasing:
intent: Re-enable a disabled ModSecurity rule
effect: write
questions:
- How do I re-enable a rule I disabled in ModSecurity?
- Can I turn a disabled rule back on for a config file?
instructions:
- text: Enable rule {id} in ModSecurity config {config}.
slots:
id: query.id
config: query.config
- text: Re-enable disabled rule {id} for {config}.
slots:
id: query.id
config: query.config
method: generated
generated: '2026-11-26'
- target: $.paths['/modsec_update_vendor'].get
update:
x-apievangelist-phrasing:
intent: Update a ModSecurity vendor ruleset
effect: write
questions:
- How do I pull the latest vendor ruleset for ModSecurity?
- Can I refresh a vendor's rule set from a metadata URL?
instructions:
- text: Update the vendor ruleset from {url}.
slots:
url: query.url
- text: Pull the newest vendor rule set using metadata at {url}.
slots:
url: query.url
method: generated
generated: '2026-11-26'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/cpanel-modsecurity-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.