Excluir transação sem recorrência através do seu id.
DELETE {{baseUrl}}/api/v1/transacao/:id
🇧🇷
O schema utilizado para comparar com o JSON de resposta é pego através da variável
schemaTransacao
porém como ele não retorna o objeto
transacao
e somente a propriedade
mensagem
o objeto
transacao
é removido na aba
Test
antes da realização do assert.
Nesse endpoint irão ser retornados somente a seguinte propriedade:
mensagem
.
🇺🇸
The schema used to compare with the response JSON is taken through the
schemaTransacao
variable, but as it does not return the
transacao
object and only the
message
property, the
transacao
object is removed in the tab
Test
before performing the assert.
In this endpoint, only the following property will be returned:
mensagem
.
HEADERS
| Key | Datatype | Required | Description |
RESPONSES
status: OK
{"mensagem":"Transação excluída com sucesso"}