Skip to main content
POST
Update threat detection config

Overview

Update an organization threat detection config’s status, schedule, and config fields.

Authorizations

X-API-KEY
string
header
required

Your API key. This is required by most endpoints to access our API programatically. Reach out to us at support@chainpatrol.io to get an API key for your use.

Body

application/json
slug
string
required
Minimum string length: 1
configId
integer
required
Required range: x > 0
status
enum<string>
Available options:
ENABLED,
DEPRECATED_EVALUATE,
DISABLED
title
string
description
string | null
cron
string | null
config
object
mergeConfig
boolean
default:false
brandId
integer | null

Optional brand connection for this detection config. Pass null to clear the link. Only valid for org-scoped configs; the brand must belong to the same organization.

Required range: x > 0

Response

Successful response

config
object
required