Creating Secret via Vault API

Creating Secret via Vault API

Hi

I am trying to create a secret through vault api. 

This is the response I get.

One thing I am not sure is how to decrypt the secretdata, how to get the secrettypeid?

{
    "operation": {
        "result": {
            "error_code""",
            "message""Sorry, we are unable to process your request.",
            "status""failed"
        }
    }
}