approvals

Resolve Queued Approval

Resolve a queued approval with allow, reject, or always.

The request body must echo the nonce the gate issued when the approval was queued. Mismatches return 409 NONCE_MISMATCH; a nonce replayed against an already-resolved or evicted approval returns 410 NONCE_EXPIRED. The resolution is attributed to the principal the request authenticated as. When scoped tokens are configured and the request presents none, the call is refused with 401 rather than recorded against an unnamed caller; when no scoped tokens are configured the server is in its loopback posture and the decision is attributed to the loopback operator.

post/approvals/{approval_id}/resolve

Request

  • Base URL: http://127.0.0.1:8052
  • URL: http://127.0.0.1:8052/approvals/{approval_id}/resolve
  • Auth: none declared

Path parameters

approval_idstring required

Request body

decision'allow' | 'reject' | 'always' required
noncestring
reasonstring

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.