DELETE /api/users/
Permanently deletes a user account.
This action is irreversible. All data associated with the user will be removed.
Requires a valid Bearer token. Allowed roles: ADMIN, USER.
Path parameters
The string ID of the user to delete.
Response fields
Indicates whether the request succeeded.
Human-readable result message.
curl --request DELETE \
--url 'https://api.meetpoint.com/api/users/user-abc123' \
--header 'Authorization: Bearer <token>'
{
"status": true,
"message": "Usuario eliminado correctamente",
"data": {
"id": "user-abc123",
"email": "jane.doe@example.com",
"firstName": "Jane",
"lastName": "Doe",
"location": "New York, USA",
"isBlocked": false
}
}