This endpoint permanently removes an applicant document from the FirestoreDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Manuelfg1985/Proyecto_Final_26/llms.txt
Use this file to discover all available pages before exploring further.
postulantes collection using the Firebase SDK’s deleteDoc. Once deleted, the record cannot be recovered. A valid Bearer token is required — the authMiddleware will reject unauthenticated requests before they reach the controller. If the :id path parameter is missing entirely, the server returns a 400 response before attempting any Firestore operation.
Endpoint
| Method | DELETE |
| Path | /api/postulantes/:id |
| Auth | Bearer token required |
Path parameters
The Firestore document ID of the applicant to delete. Returns a
400 Bad Request if this parameter is missing.Request headers
JWT Bearer token. Format:
Bearer <token>. Obtain a token from POST /api/auth/login.Responses
200 OK
The applicant document was successfully deleted from Firestore.400 Bad Request
Returned when theid path parameter is missing from the request.
401 Unauthorized
Returned when theAuthorization header is missing or does not start with Bearer .
403 Forbidden
Returned when the token is present but invalid or expired.500 Internal Server Error
Returned when the FirestoredeleteDoc call fails unexpectedly.