Custom database role path

When creating database role or secret engine I want to configure these with a custom path, but when executing vault write myorg/database/roles/myrole, I am getting error similar to

Code: 404. Errors:

If I use database/roles/myrole, everything works fine.

Do I need to define prefix for custom path somewhere else before using custom path prefix?

Hello ,

The only way I can think of how to do this is with namespaces, which would require Vault Enterprise or HCP Vault.

Here is an example of namespaces:

The challenge there is that, while Vault is path based, its not as simple as adding a directory as you would in the file system.