approvals
Reject Task
Changed onReject a pending approval request.
Writes a signed .rejected decision record (source web) so the orchestrator poll loop unblocks. The pending file is then removed.
Args: request: The HTTP request; its credentials name the principal. task_id: Task ID to reject. body: Optional reason metadata.
Returns: Success message.
post/api/v1/approvals/{task_id}/reject
Request
- The document declares no server URL.
- Authnone declared
Path parameters
task_idstring required
Request body
Response
Successful Response
object required
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
endpoint added
- info