[GH-ISSUE #52] Deleting cipher from Organization vault isn't supported #8835

Closed
opened 2026-04-20 11:31:08 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @mprasil on GitHub (Jul 1, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/52

A call to /api/ciphers/{{cipher-uuid}}/delete-admin throws 404.

Server logs:

POST /api/ciphers/CIPHER_UUID/delete-admin application/json; charset=utf-8:
    => Error: No matching routes for POST /api/ciphers/CIPHER_UUID/delete-admin application/json; charset=utf-8.
    => Warning: Responding with 404 Not Found catcher.
    => Response succeeded.

The POST data is a simple json:

{ "id":"CIPHER_UUID"}

I guess we can just use one of the current delete functions to handle this one with some extra checks for admin access.

Originally created by @mprasil on GitHub (Jul 1, 2018). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/52 A call to `/api/ciphers/{{cipher-uuid}}/delete-admin` throws 404. Server logs: ``` POST /api/ciphers/CIPHER_UUID/delete-admin application/json; charset=utf-8: => Error: No matching routes for POST /api/ciphers/CIPHER_UUID/delete-admin application/json; charset=utf-8. => Warning: Responding with 404 Not Found catcher. => Response succeeded. ``` The POST data is a simple json: ```json { "id":"CIPHER_UUID"} ``` I guess we can just use one of the current delete functions to handle this one with some extra checks for admin access.
Author
Owner

@mprasil commented on GitHub (Jul 1, 2018):

Submitted PR #54

<!-- gh-comment-id:401601912 --> @mprasil commented on GitHub (Jul 1, 2018): Submitted PR #54
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#8835