HTTP API set postgres DataSource password fail

Hi All:
I created a datasource type postgres using HTTP API, but as I set the password for the password field and then call the api, I check the datasource in web ui, and found that the password didn’t work. How can I set the password for the postgres with HTTP API? Thanks

Try to add
"secureJsonData":{“password”: “XXX”}
in your json posting

It works, thanks very much