Skip to main content
DELETE
/
engajamento
/
permissoes
/
{id}
Remover bandeiras de webhook
curl --request DELETE \
  --url https://api-vendas.taximachine.com.br/api/v2/integracao/engajamento/permissoes/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "bandeiras": [
    669,
    148,
    941
  ]
}
'
{
  "success": true,
  "data": [],
  "message": "Permissões de engajamento excluídas com sucesso."
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

api-key
string
header
required

Obrigatório. Sua chave API.

Path Parameters

id
integer
required

Id do webhook

Body

application/json
bandeiras
integer[]

Array de IDs das bandeiras a serem removidas

Response

200 - application/json

Sucesso