You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're thinking over lists and whether they generally be 404 or 204. I'm closing this since we're thinking about it for more than just this specific instance.
Describe the bug
If no groups exist, instead of returning an empty list, the API returns a
404
error.To Reproduce
Steps to reproduce the behavior:
vault list /identity/group/id
orvault list /identity/group/name
when no groups exist.Expected behavior
It should return
200
with an empty list.Environment:
vault status
): 0.11.5vault version
): Vault v0.11.5 ('a59ffa4a0f09bbf198241fe6793a96722789b639')Vault server configuration file(s):
Additional context:
The docs say 404 is not an expected return:
The text was updated successfully, but these errors were encountered: