approvals

Reject 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.
  • Auth
    none declared

Path parameters

task_idstring required

Request body

reasonstring

Response

Successful Response

object required

Changes