Skip to main content
PATCH
Update Custom Rule

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Key
string | null

Path Parameters

rule_id
integer
required

Cookies

blindsight_session
string | null

Body

application/json
name
string | null
pattern
string | null
description
string | null
enabled
boolean | null
flags
string[] | null
priority
integer | null
score
number | null

Response

Successful Response

id
integer
required
name
string
required
pattern
string
required
description
string | null
enabled
boolean
default:true
flags
string[]
priority
integer
default:0
score
number | null
category
string
default:secret
scope_type
string
default:global
scope_id
string | null
created_at
string<date-time> | null
updated_at
string<date-time> | null