Skip to content

fix: issue with delete user#46

Merged
Lujeni merged 1 commit intonumberly:mainfrom
savon-noir:main
Apr 9, 2026
Merged

fix: issue with delete user#46
Lujeni merged 1 commit intonumberly:mainfrom
savon-noir:main

Conversation

@savon-noir
Copy link
Copy Markdown
Contributor

the user delete api call fails on vaultwarden when "content-type: app/json" is not provided in http headers:

>>> client.delete(u.Id)
ERROR:vaultwarden.utils.logger:Error: 404
WARNING:vaultwarden.utils.logger:Failed to <redacted user.id> Client error '404 Not Found' for url 'https://<redacted>/admin/users/<redacted user.id>/delete'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
False

This PR fixes that issue. It is an easy fix. You can also change it yourself on the next release and discard this PR.

@Lujeni Lujeni self-assigned this Apr 9, 2026
@Lujeni Lujeni merged commit 004eff3 into numberly:main Apr 9, 2026
14 checks passed
@Lujeni
Copy link
Copy Markdown
Member

Lujeni commented Apr 9, 2026

@savon-noir thanks for your PR / fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants