Update existing webhook.
Update an existing webhook's information. If you wish to reset the secret, submit any value as the "secret". Firefly III will take this as a hint and reset the secret of the webhook.
Body
JSON array with updated webhook information. See the model for the exact specifications.
activebooleanBoolean to indicate if the webhook is active
falsetitlestringA title for the webhook for easy recognition.
Update magic mirror on new transactionsecretstringA 24-character secret for the webhook. It's generated by Firefly III when saving a new webhook. If you submit a new secret through the PUT endpoint it will generate a new secret for the selected webhook, a new secret bearing no relation to whatever you just submitted.
iMLZLtLx2JHWhK9DtyuoqyirtriggersArray<WebhookTrigger>ANYSTORE_TRANSACTIONUPDATE_TRANSACTIONDESTROY_TRANSACTIONSTORE_BUDGETUPDATE_BUDGETDESTROY_BUDGETSTORE_UPDATE_BUDGET_LIMIT[
"STORE_TRANSACTION",
"UPDATE_TRANSACTION"
]responsesArray<WebhookResponse>TRANSACTIONSACCOUNTSBUDGETRELEVANTNONE[
"TRANSACTIONS"
]deliveriesArray<WebhookDelivery>JSON[
"JSON"
]urlstringThe URL of the webhook. Has to start with https.
https://example.comParameters
X-Trace-Idstring<uuid>headerUnique identifier associated with this request.
idstringrequiredpathThe webhook ID.
Response
Updated webhook stored, result in response
Bad request
Unauthenticated
Page not found
Validation error. The body will have the exact details.
Internal exception
Authorization
firefly_iii_authoauth2OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.
local_bearer_authhttp (bearer)A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.
