Changing dbpath of a process from REST API

Hi,

I have an OpsManager managed cluster. Is there any way to update the dbPath of a process using REST API ?
I used below API
curl --location --request PUT ‘http://url:port/api/public/v1.0/groups/groupid/automationConfig’

with the automation configuration document. This document has the updated dbpath but I got the below response.

{

"detail": "Invalid config: dbPath may not change for processes. Detected the following change: PROCESS parameter dbPath changed from /data to /datatest",

"error": 400,

"errorCode": null,

"parameters": null,

"reason": "Bad Request"

}

Is there any other API that I should try ?

Thanks,
Santhanu

Hi,

Do we have any news on my query ?

Thanks,
Santhanu

Resurrecting this post…
It’s a shame that even after all this time OpsManager is not able to do such a simple thing …

It seems the way is to completely remove from OM, do it manually via command line, then reconfigure in OM…

I still remember all the times I heard devs and devops guys praise MongoDB as not needing DBAs.
Hah.
You’re not going to need any less DBAing with this extremely limited level of tooling.

Can’t even change a replica set name…
OM is such a phenomenal idea… But the implementation simply leaves a lot to be desired.