Skip to main content
PATCH
Answer a waiting request
Takes a signed-in session, or a managing key that has the approve permission. See How it works for when a request is held. Approves or denies one waiting request on a vault you can use. always_allow also changes the permission that held it.
Availability: OneCLI Cloud and self-hosted.

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Path Parameters

id
string
required

The request's id.

Required string length: 1 - 64

Body

application/json
decision
enum<string>
required

approve: let this request through. deny: refuse it. always_allow: let it through and stop asking for this tool on this item.

Available options:
approve,
deny,
always_allow
vault
string
required

The vault the request waits on: its vaultId in the list.

Required string length: 1 - 64

Response

The request was answered.

id
string
required
status
enum<string>
required
Available options:
approved,
denied
vaultId
string
required