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

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”