Isn't the correct syntax
/opt/CPotelcol/REST.py --set_open_telemetry "$(cat payload_kf101.json)"
i.e., in inverted commas (") ?
# ./REST.py --set_open_telemetry $(cat payload.json)
usage: REST.py [-h]
(--show_open_telemetry | --set_open_telemetry SET_OPEN_TELEMETRY)
REST.py: error: unrecognized arguments: "enabled": true, "export-targets": {"add": [
# ./REST.py --set_open_telemetry "$(cat payload.json)"
{"message": "Operation has finished successfully"}
and now to something completely different - CCVS, CCAS, CCTE, CCCS, CCSM elite