curl --request DELETE \
--url https://api.example.com/partner/delete \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"email": "<string>"
}
'{
"message": "<string>"
}Remove a partner from the DEMET system
curl --request DELETE \
--url https://api.example.com/partner/delete \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"email": "<string>"
}
'{
"message": "<string>"
}access_token cookie. Both the partner ID and email must be provided to confirm the deletion.
"P001""[email protected]""Socio Eliminado Exitosamente"curl -X DELETE https://api.example.com/partner/delete \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN" \
-d '{
"id": "P001",
"email": "[email protected]"
}'
{
"message": "Socio Eliminado Exitosamente"
}
{
"message": "Socio no encontrado o datos inválidos"
}
{
"message": "Token no enviado o inválido"
}
{
"message": "Error interno del servidor"
}