cURL
curl --request POST \ --url https://api.example.com/users/delete \ --header 'Content-Type: application/json' \ --data ' { "dni": "<string>" } '
{ "success": true }
Permanently remove a user from the system
JwtAuthGuard
RolesGuard
monitor
admin
curl -X POST https://api.sociapp.com/users/delete \ -H "Authorization: Bearer YOUR_JWT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "dni": "45678912C" }'
{ "statusCode": 500, "message": "User not found" }