v1
latestOpenAPI 3.0.02026-07-2422987517.5 KBTransaction rule
Delete a transaction rule
Deletes a transaction rule. Requires the transactions_rules_manage permission. Returns the deleted rule.
delete/v1/transaction/rules/{rule_id}
Path parameters
rule_idstring uuid required
The id of the transaction rule.
Headers
company-idstring uuid required
UUID of the company on whose behalf the request is made. Required for every Accounting endpoint. See The company-id header for details on how to obtain a value for this header and the error responses to expect when it is missing or invalid.
Response
Rule deleted
Example response
{
"id": "a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d",
"company_id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Categorizar AWS como Infraestructura",
"constraints": {
"$or": [
{
"merchant_id": "8e668a4e-8485-4248-86cc-a7a2201cf8c3"
}
]
},
"enabled": true,
"custom_column_change_effects": [
{
"type": "Transaction::CustomColumnChangeEffect"
}
]
}