Skip to main content
POST
Release a command-line secret or website login to the caller's OpenWork app or CLI

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Path Parameters

secretId
string
required
Required string length: 1 - 128

Body

application/json
use
object
required
client
enum<string>
Available options:
cli,
desktop
agentId
string<typeid>

Den TypeID with 'pga_' prefix and a 26-character base32 suffix.

Required string length: 30
approval
enum<string>
Available options:
once,
always
preflight
boolean

Response

The decision, and the released value unless this was a preflight.

secret
object
required
decision
enum<string>
required
Available options:
allow,
ask
canChooseAlways
boolean
required
release
object
required