Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/JanContrerasDev/gestor-contrasenas/llms.txt

Use this file to discover all available pages before exploring further.

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

id
integer
required
The unique identifier of the password entry to delete

Request

curl -X POST http://your-domain.com/api/deletePassword/1

Response

message
string
Success or error message
status
integer
HTTP status code

Response Codes

  • 200 - Success - Password deleted successfully
  • 404 - Password not found

Example Response (200 OK)

{
  "message": "contraseña borrada",
  "status": 200
}

Example Response (404 Not Found)

{
  "message": "contraseña no encontrada",
  "status": 404
}

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/listPassword endpoint 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

Build docs developers (and LLMs) love