Skip to main content
POST
Settle Sidecar Approval Request

Headers

hoop-sidecar-token
string

The token returned when the sidecar was created. Omit it when sending hoop-sidecar-identity.

hoop-sidecar-identity
string

A Kubernetes or Google service account JWT, raw, that a sidecar service account mapping allows. Omit it when sending hoop-sidecar-token.

Path Parameters

id
string
required

The approval request id

Body

application/json

The request body resource

accepted
boolean
required

Whether the upstream accepted the statement

True spends the approval (EXECUTED). False gives it back (APPROVED): the upstream refused the statement, so nothing ran.

Example:

false

Response

OK

forward
boolean

Whether the sidecar may release the statement it held

True only on the request that consumed or reserved an approved request, and only once per claim. False while the approval request waits or a reservation is in flight, and false forever once it is rejected, revoked or expired.

Example:

false

review
object

The approval request the statement is waiting on, or the one that released it