Cannot call api

Hi all,

I am recently trying to setup vault. I am using the UI not cli. Everything is good and some api are good to call. e.g. /auth/token/create. I can successfully use this api. But there are a few I cannot call and I dont know why. e.g. /auth/token/roles. I tried many input “true”/‘true’/true/etc… but all showed the same error. Please give me some advice. Thanks.

Check out the docs

You are asking vault for a GET when you need LIST there