POST /api/deletePassword/
Soft deletes a password entry by setting its status to 0. The password is not permanently removed from the database, but will no longer appear in the list of active passwords.Path Parameters
The unique identifier of the password entry to delete
Request
Response
Success or error message
HTTP status code
Response Codes
- 200 - Success - Password deleted successfully
- 404 - Password not found
Example Response (200 OK)
Example Response (404 Not Found)
Notes
- This is a soft delete operation. The password entry remains in the database with
status = 0 - Deleted passwords will not appear in the
/api/listPasswordendpoint results - The password can still be retrieved individually using
/api/getPassword/{id} - To permanently delete a password, you would need to remove the record from the database directly