Store data in PostgreSQL

Hi Team,

We configure vault with storage as postgres, Which API should we use to store our data in valut. current we are using http://127.0.0.1:8200/v1/sys/raw/client1/database/localdata.

Another question
We create one user using userpass auth method and added storage /secret engine as database. we are getting "permission Denied " when we are using user vault token in API

{
“errors”: [
“1 error occurred:\n\t* permission denied\n\n”
]
}