v52

OpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
WordPress: AI Tools

Set AI option status

Enable or disable an AI option for the Hostinger Tools plugin on the specified WordPress installation.

Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the id field).

patch/api/hosting/v1/accounts/{username}/wordpress/{software}/hostinger-plugins/ai-option/status

Path parameters

usernamestring required
Example:u123456789
softwarestring required
Example:1232456789

WordPress installation (software) identifier

Request body

option'llmstxt' | 'web2agent' required

AI option name

enableboolean required

Enable (true) or disable (false) the AI option.

Example request

{
  "option": "llmstxt",
  "enable": true
}

Response

Success empty response

messagestring

Example response

{
  "message": "Request accepted"
}