Skip to main content
DELETE
/
opportunity
/
{id}
Exclusão de oportunidade
curl --request DELETE \
  --url https://fretatech.com.br/api/opportunity/{id} \
  --header 'Authorization: Bearer <token>'
{
  "msg": "Oportunidade deletada com sucesso"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer<int64>
required

ID da oportunidade

Response

Successful operation

msg
string
Example:

"Oportunidade deletada com sucesso"