# Add ModSecurity configuration file text This function adds text to a ModSecurity™ configuration file. When you disable the Web Server role, the system this function. Endpoint: GET /modsec_assemble_config_text Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `config` (string, required) The ModSecurity™ configuration filename and file path, relative to the directory. Example: "modsec_vendor_configs/example.conf" - `deploy` (integer) Whether to deploy the new text to the system. * — Deploy. * — Do deploy. Enum: 1, 0 - `final` (integer) Whether to add the text as the final upload to the configuration file. * — Final upload. * — the final upload. * You use this parameter if you wish to add the text as the final change to the configuration file. * You use the parameter with this parameter if you wish to only make one change to the configuration file. Enum: 1, 0 - `init` (integer) Whether to add the text as the initial upload to the configuration file. * — Initial upload. * — the initial upload. * You use this parameter if you wish to add the text as the initial change to the configuration file. * You use the parameter with this parameter if you wish to only make one change to the configuration file. Enum: 1, 0 - `text` (string) The text to add to the configuration file. Example: "newtext" ## Response 200 fields (application/json): - `metadata` (object) - `metadata.command` (string) The method name called. Example: "modsec_assemble_config_text" - `metadata.reason` (string) The reason the API function failed when the field is . This field may display a success message when a function succeeds. Example: "OK" - `metadata.result` (integer) * — Success. * — Failed. Check the field for more details. Enum: 1, 0 - `metadata.version` (integer) The version of the API function. Example: 1