> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://api.docs.modulards.com/modular-ds-public-api/patch-protect/website-protection/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.docs.modulards.com/_mcp/server. # Website protection Read how Patch & Protect guards one website - whether the protection is on, whether it is communicating with the security provider, when its attack figures were last read and the settings it runs with - and switch the protection on or off over an explicit selection of websites. The settings are read-only here. The switch answers 202 with one site action per website that will change and lists the others in `meta.skipped`; follow each action to its end. Without the add-on subscribed nothing is switched on and the request answers 409: the user enables the add-on from the Modular DS dashboard. ## API Docs - Website protection [Retrieve a website's Patch & Protect settings](https://api.docs.modulards.com/modular-ds-public-api/patch-protect/website-protection/retrieve-a-website-s-patch-protect-settings.md) - Website protection [Switch Patch & Protect for websites](https://api.docs.modulards.com/modular-ds-public-api/patch-protect/website-protection/switch-patch-protect-for-websites.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://api.docs.modulards.com/modular-ds-public-api/patch-protect/website-protection/openapi.json) - [OpenAPI YAML](https://api.docs.modulards.com/modular-ds-public-api/patch-protect/website-protection/openapi.yaml)