curl --request DELETE \
--url https://api.myidvirtual.com/resale/:id \
--header 'Authorization: <authorization>'{
"message": "Revenda deletada com sucesso"
}
Remove uma revenda do sistema
curl --request DELETE \
--url https://api.myidvirtual.com/resale/:id \
--header 'Authorization: <authorization>'{
"message": "Revenda deletada com sucesso"
}
{
"message": "Revenda deletada com sucesso"
}
curl --location --request DELETE 'http://localhost:3333/resale/123e4567-e89b-12d3-a456-426614174000' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'