What app is this about, and its version: vaultwarden 1.35.2~ynh1 What YunoHost version are you running: 12.1.39 (stable) What type of hardware are you using: VPS bought online
Describe your issue
i’m trying to use the Admin API to be able to automatically send user invite (for example).
i do not find any documentation (something as a swagger or an openapi documentation)
can someone have something like or an example of the URL and how to be recognize as administrator ?
Share relevant logs or error messages
no logs to display, i can make screen from the admin panel if needed
(assume i have an URL as subdomain.domain.tld)
Unfortunately, Vaultwarden does not have OpenAPI/Swagger documentation for its Admin API. This is a recurring question in the community, and the maintainers have confirmed this (see this discussion). The only “doc” available is the source code.
Tips for using the Admin API
According to GitHub discussions, authentication to the Admin API does not seem to work via a simple Authorization: Bearer header. Instead, it appears to use a session cookie obtained after authentication.
Here is an approach that might work (to be tested):
Step 1: Authenticate and obtain the session cookie
for people who set a Argon2 token, it’s the same you have to push in the token value and you have to set the admin panel permission on visitors in yunohost administrator configuration