Deny an action
Changed onDenies the action (never replayed). Records the optional reason and unblocks the originating chat turn if any. A user who may not answer the approval gets 403 permission_denied, by the same rule as approving.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
Approval id (apr_...)
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Optional reason recorded on the approval
Response
Success
pending_approval waits for a person. It ends executed (see result), failed (see error) or denied (see reason).
What runs, as {label, value} pairs: recipients, subject, amounts and the other arguments a person checks.
An API call's frozen request, {http_method, path, params}, with secrets masked. Null for other kinds.
Changes
- info
added the required property
detailsto the response with the status - info
added the required property
requestto the response with the status
- info
- warning
added the new
siteenum value to thekindresponse property for the response status
- warning