How can I completely disable or uninstall x-pack in ELK stack version 6.7.
curl -XGET 'ip1:9200/_nodes/_all/version'
{"_nodes":{"total":3,"successful":3,"failed":0},"cluster_name":"XXXXX","nodes":{"Z3IzSLEADjSUcjRigiRWRw":{"name":"node_d3","transport_address":"ip1:9300","host":"ip2","ip":"ip3","version":"6.7.0","build_flavor":"default","build_type":"rpm","build_hash":"8453f77","roles":["data"],"attributes":{"ml.machine_memory":"219577073664","ml.max_open_jobs":"20","xpack.installed":"true","ml.enabled":"true"}},"SOLnd4lSRIF9IR_uzT1_ew":{"name":"node_m2_d2","transport_address":"ip2:9300","host":"ip2","ip":"ip2","version":"6.7.0","build_flavor":"default","build_type":"rpm","build_hash":"8453f77","roles":["master","data"],"attributes":{"ml.machine_memory":"219577073664","ml.max_open_jobs":"20","xpack.installed":"true","ml.enabled":"true"}},"MAmfEjtUR7ARP2WhkMRaiA":{"name":"node_m1_i1_d1","transport_address":"ip1:9300","host":"ip1","ip":"ip1","version":"6.7.0","build_flavor":"default","build_type":"rpm","build_hash":"8453f77","roles":["master","data","ingest"],"attributes":{"ml.machine_memory":"219577073664","xpack.installed":"true","ml.max_open_jobs":"20","ml.enabled":"true"}}}}
Regular ways as per blogs for uninstall or any other ways are resulting in issues.