Skip to main content
PUT
Set or remove one tool rule

Authorizations

Authorization
string
header
required

Den session token passed as Authorization: Bearer <session-token> for user-authenticated Den routes. Not for API keys: send den_ keys in the x-api-key header instead.

Body

application/json
subject
object
required
connectionId
string
required
Required string length: 1 - 160
toolName
string
required
Required string length: 1 - 128
rule
enum<string> | null
required
Available options:
allow,
ask,
block

Response

Success.

rules
object[]
required
writtenRules
string
required

What the organization tells every run to follow first, in the admin's words.

Maximum string length: 4000