Edit an alert
update_alertEdits the interest, or pauses or turns on again an alert of the owner. The filters replace the whole filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Alert identifier. | |
| uf | No | State (UF) abbreviation; empty means all. | |
| nome | No | Alert name, up to 100 characters. | |
| ativo | No | `false` pauses without deleting; `true` turns it on again. | |
| canal | No | New channel: `pull`, `webhook` or `email`. Email requires a session and uses explicit recipients or the account email. | |
| termos | No | Object terms; a space requires all words, | accepts alternatives. | |
| destino | No | New https URL on port 443 (webhook). Ignored for pull and email. | |
| filtros | No | Extra filter: modalities, municipalities, exclusions, values, open proposals and CNAEs. PATCH replaces the whole filter; {} clears it. | |
| destinatarios | No | Email recipients: `para`, `cc` and `bcc` arrays. Up to 10 distinct addresses in total. An empty `para` list uses the account email. PATCH replaces all three lists. BCC is hidden from other recipients. | |
| organizacao_id | No | Organization from `GET /api/me/empresas`. Membership and MFA are checked. Null removes the label. This does not share alert ownership. |