TratowAPI
API aberta · Pacotes

Excluir pacote

del/api/open/v1/packages/{id}

Em resumo

  • DELETE /api/open/v1/packages/{id}
  • Precisa de chave read_write.
  • Obrigatórios: id.
  • Sucesso: 200.
  • Authorizationstringheaderobrigatório

    Chave de API no formato Bearer ttw_live_<prefixo>_<segredo>, criada em Integrações → Chaves de API. Este endpoint precisa de chave read_write.

  • idstringobrigatório

    Id do registro (UUID).

Resposta 200

application/json
  • deletedbooleanobrigatório
curl --request DELETE \  --url 'https://qa-tratow.ips.app.br/api/open/v1/packages/{id}' \  --header 'Authorization: Bearer <chave>'
Resposta
{  "deleted": true}

Os valores são ilustrativos.