Skip to main content
POST
Claim 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

Optional; an empty body spends an approved request

reserve
boolean

Reserve an approved request instead of spending it, as on SidecarReviewRequest

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