Skip to main content
PUT
Set an Allow, Ask, or Block rule for a secret

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
subjectKind
enum<string>
required
Available options:
organization,
team,
member,
agent
subjectId
string
required
Required string length: 1 - 64
rule
enum<string>
required
Available options:
allow,
ask,
block

Response

Updated secret detail.

secret
object
required
blindUse
object
required
rules
object[]
required