Skip to main content
POST
Create 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

Cookies

blindsight_session
string | null

Body

application/json
name
string
required
pattern
string
required
description
string | null
enabled
boolean
default:true
flags
string[]
priority
integer | null
score
number | null
scope_type
enum<string>
default:global
Available options:
global,
project,
dataset
scope_id
string | 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