Skip to main content
DELETE
/
integracao
/
v1
/
engajamento
/
permissao
/
{id}
Remover bandeiras de webhook
curl --request DELETE \
  --url https://api-vendas.taximachine.com.br/integracao/v1/engajamento/permissao/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
{
  "bandeiras": [
    820,
    620,
    767
  ]
}
'
{
  "success": true,
  "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[]
required

Obrigatório. Lista de IDs das bandeiras que serão removidas.

Response

200 - application/json

Sucesso

The response is of type object.