POST /mltk/ctsm_feature
POST /mltk/ctsm_feature
Opt out of CTSM.
Description. Opt out of CTSM. The body is ignored — calling this endpoint always sets ctsm_opt_out = true in mlspl.conf section [CTSM].
Response (200).
{
"message": "CTSM opt-out successful",
"ctsm_opt_out": true,
"status": "success"
}
Example.
curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD" -X POST
"$SPLUNK_HOST/servicesNS/nobody/Splunk_ML_Toolkit/mltk/ctsm_feature?output_mode=json"
Source. Splunk_ML_Toolkit/bin/rest_handlers/ctsm_feature.py