Update an organization threat detection config’s status, schedule, and config fields.To create a new config for a source that is disabled by default, use
Create Detection Config first. To
durably disable a source that is enabled by default, set status to DISABLED
here rather than calling Delete Detection Config,
since automation may re-create a default config for such sources.
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.
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.
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"ChainPatrol","colors":{"primary":"#6622DC","light":"#985EFD","dark":"#2A186B"},"logo":{"light":"https://mintcdn.com/chainpatrol/R_CITzEDbsciFTsn/logo/light.svg?fit=max\u0026auto=format\u0026n=R_CITzEDbsciFTsn\u0026q=85\u0026s=8ca4a8411113008ec8f9a57dec249989","dark":"https://mintcdn.com/chainpatrol/R_CITzEDbsciFTsn/logo/dark.svg?fit=max\u0026auto=format\u0026n=R_CITzEDbsciFTsn\u0026q=85\u0026s=3fba0f7cf94681111da5d1ce52ebf33b","href":"https://chainpatrol.com"},"favicon":"https://mintcdn.com/chainpatrol/R_CITzEDbsciFTsn/favicon.svg?fit=max\u0026auto=format\u0026n=R_CITzEDbsciFTsn\u0026q=85\u0026s=2ee94dcfc07708e2929aad42ea5ab4c5","api":{"openapi":"https://app.chainpatrol.io/api/v2/openapi.json?v=2","mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://app.chainpatrol.io/api/v2"}},"appearance":{"default":"dark"},"background":{"image":"https://mintcdn.com/chainpatrol/oLEHOzLMXL0CWKrg/background.png?fit=max\u0026auto=format\u0026n=oLEHOzLMXL0CWKrg\u0026q=85\u0026s=562d8e2e01dbe50733cb041efde433a6","color":{"dark":"#060114"}},"navbar":{"links":[{"href":"https://chainpatrol.com/blog","label":"Blog"},{"href":"https://chainpatrol.com/changelog","label":"Changelog"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.chainpatrol.io/"}},"footer":{"socials":{"x":"https://x.com/chainpatrol","linkedin":"https://www.linkedin.com/company/89545915","github":"https://github.com/chainpatrol"}},"fonts":{"heading":{"family":"IBM Plex Sans"},"body":{"family":"Inter"}},"integrations":{"ga4":{"measurementId":"G-QEBBHCD92K"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"chainpatrol","hasAudioNarration":false,"actualSubdomain":"chainpatrol","customDomains":["chainpatrol.com"],"gitSource":{"type":"github","owner":"chainpatrol","repo":"docs","deployBranch":"main","contentDirectory":"","mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad99febf1e27b33f7f9e577","collectionId":"be6afa03-5750-4c3a-8a7e-8f3337a4a8c0","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad99febf1e27b33f7f9e577"},"feedback":{"thumbs":true,"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ad99febf1e27b33f7f9e577","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":95},{"language":"default","tag":"Documentation","count":29},{"language":"default","tag":"Integrations","count":22},{"language":"default","tag":"JavaScript SDK","count":21},{"language":"default","tag":"Getting Started","count":18},{"language":"default","tag":"CLI","count":16},{"language":"default","tag":"Concepts","count":14},{"language":"default","tag":"Assets","count":13},{"language":"default","tag":"Threat Detection","count":12},{"language":"default","tag":"Command Reference","count":11}]},"assistantConfig":{},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"external-api/detection-configs-update","slug":"/external-api/detection-configs-update","pageMetadata":{"title":"Update Detection Config","openapi":"POST /detection/configs/update","description":"Update an organization threat detection config status, schedule, and config fields.","href":"/external-api/detection-configs-update"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Update an organization threat detection config status, schedule, and config fields.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components},{Heading}=_components;if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Update an organization threat detection config’s status, schedule, and config fields.`}),`\n`,_jsxs(_components.p,{children:[`To create a new config for a source that is disabled by default, use\n`,_jsx(_components.a,{href:`/external-api/detection-configs-create`,children:`Create Detection Config`}),` first. To\ndurably disable a source that is enabled by default, set `,_jsx(_components.code,{children:`status`}),` to `,_jsx(_components.code,{children:`DISABLED`}),`\nhere rather than calling `,_jsx(_components.a,{href:`/external-api/detection-configs-delete`,children:`Delete Detection Config`}),`,\nsince automation may re-create a default config for such sources.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update Detection Config","openapi":"POST /detection/configs/update","description":"Update an organization threat detection config status, schedule, and config fields.","href":"/external-api/detection-configs-update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"detectionConfigsUpdate","summary":"Update threat detection config","description":"Update an organization threat detection config status, schedule, and config fields.","tags":["detection"],"security":["2048c5ae-1cd3-4681-872e-683b09387f91"],"requestBody":"3c5bf554-eb04-4be6-8c04-ec9618caf911","responses":{"200":"820ac8c8-f9b2-475c-a33d-cb68c3f19196","400":"29900619-497f-473b-bd94-30a199768639","401":"77bed46b-87b5-4b9d-ab50-449f264e1c7e","403":"add690c1-f416-47e2-9aac-482e8359fae3","500":"d681312d-d656-415a-b8e6-2b6524926fa2"},"method":"post","type":"path","servers":["b3e456aa-8d19-43c8-a13a-a956d0525bef"],"path":"/detection/configs/update","baseUrlOptions":["https://app.chainpatrol.io/api/v2"],"title":"Update threat detection config","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"slug","typeLabel":"string"},"configId":{"type":"integer","minimum":0,"exclusiveMinimum":true,"isRequired":true,"uniqueKey":"configId","typeLabel":"integer"},"status":{"type":"string","enum":["ENABLED","DEPRECATED_EVALUATE","DISABLED"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"title":{"type":"string","uniqueKey":"title","typeLabel":"string"},"description":{"oneOf":[{"type":"string","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"cron":{"oneOf":[{"type":"string","uniqueKey":"cron.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"cron.oneOf.1","typeLabel":"null"}],"uniqueKey":"cron","typeLabel":"string | null"},"config":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"config.additionalProperties","typeLabel":"any"},"uniqueKey":"config","typeLabel":"object"},"mergeConfig":{"type":"boolean","default":false,"uniqueKey":"mergeConfig","typeLabel":"boolean"},"brandId":{"oneOf":[{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"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.","uniqueKey":"brandId.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":0,"exclusiveMinimum":true,"description":"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.","uniqueKey":"brandId.oneOf.1","typeLabel":"null"}],"uniqueKey":"brandId","typeLabel":"integer | null"}},"required":["slug","configId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"slug":"\u003cstring>","configId":1,"title":"\u003cstring>","description":"\u003cstring>","cron":"\u003cstring>","config":{},"mergeConfig":false,"brandId":1}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"820ac8c8-f9b2-475c-a33d-cb68c3f19196":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"config":{"type":"object","properties":{"id":{"type":"number","isRequired":true,"uniqueKey":"config.id","typeLabel":"number"},"source":{"type":"string","isRequired":true,"uniqueKey":"config.source","typeLabel":"string"},"status":{"type":"string","enum":["ENABLED","DEPRECATED_EVALUATE","DISABLED"],"isRequired":true,"uniqueKey":"config.status","typeLabel":"enum\u003cstring>"},"title":{"type":"string","isRequired":true,"uniqueKey":"config.title","typeLabel":"string"},"description":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.description.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.description","typeLabel":"string | null"},"cron":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"config.cron.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"config.cron.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.cron","typeLabel":"string | null"},"config":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"config.config.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"config.config","typeLabel":"object"},"updatedAt":{"type":"string","isRequired":true,"uniqueKey":"config.updatedAt","typeLabel":"string"},"brandId":{"oneOf":[{"type":"number","isRequired":true,"uniqueKey":"config.brandId.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"config.brandId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"config.brandId","typeLabel":"number | null"}},"required":["id","source","status","title","description","cron","config","updatedAt","brandId"],"isRequired":true,"uniqueKey":"config","typeLabel":"object"}},"required":["config"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"config":{"id":123,"source":"\u003cstring>","status":"ENABLED","title":"\u003cstring>","description":"\u003cstring>","cron":"\u003cstring>","config":{},"updatedAt":"\u003cstring>","brandId":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"29900619-497f-473b-bd94-30a199768639":{"description":"Invalid input data","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Invalid input data","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"BAD_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Invalid input data error (400)","description":"The error information","example":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]},"uniqueKey":"","typeLabel":"Invalid input data error (400) · object"},"examples":{"Example":{"title":"Example","value":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"77bed46b-87b5-4b9d-ab50-449f264e1c7e":{"description":"Authorization not provided","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Authorization not provided","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"UNAUTHORIZED","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Authorization not provided error (401)","description":"The error information","example":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]},"uniqueKey":"","typeLabel":"Authorization not provided error (401) · object"},"examples":{"Example":{"title":"Example","value":{"code":"UNAUTHORIZED","message":"Authorization not provided","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"add690c1-f416-47e2-9aac-482e8359fae3":{"description":"Insufficient access","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Insufficient access","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"FORBIDDEN","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Insufficient access error (403)","description":"The error information","example":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]},"uniqueKey":"","typeLabel":"Insufficient access error (403) · object"},"examples":{"Example":{"title":"Example","value":{"code":"FORBIDDEN","message":"Insufficient access","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"d681312d-d656-415a-b8e6-2b6524926fa2":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Internal server error error (500)","description":"The error information","example":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]},"uniqueKey":"","typeLabel":"Internal server error error (500) · object"},"examples":{"Example":{"title":"Example","value":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2048c5ae-1cd3-4681-872e-683b09387f91":{"ApiKey":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your API key. This is required by most endpoints to access our API programatically. Reach out to us at [support@chainpatrol.io](mailto:support@chainpatrol.io?subject=Re:%20API%20Key%20for%20SDK\u0026body=Company:%20%0AName:%20%0APurpose:%20) to get an API key for your use.","scopes":[],"schemeName":"ApiKey"}}},"servers":{"b3e456aa-8d19-43c8-a13a-a956d0525bef":{"url":"https://app.chainpatrol.io/api/v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your API key. This is required by most endpoints to access our API programatically. Reach out to us at [support@chainpatrol.io](mailto:support@chainpatrol.io?subject=Re:%20API%20Key%20for%20SDK\u0026body=Company:%20%0AName:%20%0APurpose:%20) to get an API key for your use.","scopes":[],"schemeName":"ApiKey"},"schema":{"title":"X-API-KEY","type":"string","description":"Your API key. This is required by most endpoints to access our API programatically. Reach out to us at [support@chainpatrol.io](mailto:support@chainpatrol.io?subject=Re:%20API%20Key%20for%20SDK\u0026body=Company:%20%0AName:%20%0APurpose:%20) to get an API key for your use.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKey","name":"X-API-KEY"}],"title":"ApiKey"}]},"originalFileLocation":"https://app.chainpatrol.io/api/v2/openapi.json?v=2"},"subdomain":"chainpatrol","siteName":"ChainPatrol","title":"Update Detection Config - ChainPatrol","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-18T15:08:45.502Z","originalFileLocation":"external-api/detection-configs-update.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Update an organization threat detection config status, schedule, and config fields.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ChainPatrol\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Detection Config - ChainPatrol\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update an organization threat detection config status, schedule, and config fields.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ChainPatrol\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://chainpatrol.com/docs/external-api/detection-configs-update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://chainpatrol.mintlify.app/_mintlify/api/og/v2?division=Threat+Detection\u0026amp;title=Update+Detection+Config\u0026amp;description=Update+an+organization+threat+detection+config+status%2C+schedule%2C+and+config+fields.\u0026amp;theme=1a8d7dd79d865cbc4c2f5879\u0026amp;signature=ce3cb75786e8b39c5f696544e6343dbebbe1d32b437979517ddeebdf8a71425e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update Detection Config - ChainPatrol\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update an organization threat detection config status, schedule, and config fields.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://chainpatrol.mintlify.app/_mintlify/api/og/v2?division=Threat+Detection\u0026amp;title=Update+Detection+Config\u0026amp;description=Update+an+organization+threat+detection+config+status%2C+schedule%2C+and+config+fields.\u0026amp;theme=1a8d7dd79d865cbc4c2f5879\u0026amp;signature=ce3cb75786e8b39c5f696544e6343dbebbe1d32b437979517ddeebdf8a71425e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/chainpatrol/NioFQGDQy3PBOTVO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ChainPatrol\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6622DC\">\u003clink data-mint-head rel=\"canonical\" href=\"https://chainpatrol.com/docs/external-api/detection-configs-update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/external-api/detection-configs-update.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://chainpatrol.com/#organization\",\"name\":\"ChainPatrol\",\"url\":\"https://chainpatrol.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/chainpatrol/R_CITzEDbsciFTsn/logo/light.svg?fit=max\u0026auto=format\u0026n=R_CITzEDbsciFTsn\u0026q=85\u0026s=8ca4a8411113008ec8f9a57dec249989\"}},{\"@type\":\"WebSite\",\"@id\":\"https://chainpatrol.com/docs#website\",\"name\":\"ChainPatrol\",\"url\":\"https://chainpatrol.com/docs\",\"publisher\":{\"@id\":\"https://chainpatrol.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://chainpatrol.com/docs/external-api/detection-configs-update#webpage\",\"url\":\"https://chainpatrol.com/docs/external-api/detection-configs-update\",\"name\":\"Update Detection Config\",\"description\":\"Update an organization threat detection config status, schedule, and config fields.\",\"dateModified\":\"2026-08-18T15:08:45.502Z\",\"isPartOf\":{\"@id\":\"https://chainpatrol.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://chainpatrol.com/docs/external-api/detection-configs-update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://chainpatrol.com/docs/external-api/detection-configs-update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Threat Detection\",\"item\":\"https://chainpatrol.com/docs/external-api/evaluating-detections\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update Detection Config\",\"item\":\"https://chainpatrol.com/docs/external-api/detection-configs-update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://chainpatrol.com/docs/external-api/detection-configs-update#apireference\",\"headline\":\"Update Detection Config\",\"name\":\"Update Detection Config\",\"description\":\"Update an organization threat detection config status, schedule, and config fields.\",\"url\":\"https://chainpatrol.com/docs/external-api/detection-configs-update\",\"mainEntityOfPage\":{\"@id\":\"https://chainpatrol.com/docs/external-api/detection-configs-update#webpage\"},\"dateModified\":\"2026-08-18T15:08:45.502Z\",\"publisher\":{\"@id\":\"https://chainpatrol.com/#organization\"},\"isPartOf\":{\"@id\":\"https://chainpatrol.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ChainPatrol\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ChainPatrol","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/getting-started/what-we-do/introduction"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integration/discord"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"ChainPatrol External API for scam URL and address blocking","sidebarTitle":"Overview","href":"/external-api/overview"},{"title":"External API Authentication","href":"/external-api/authentication"},{"title":"ChainPatrol MCP Server","sidebarTitle":"MCP Server","icon":"plug","href":"/mcp-server"},{"title":"API Deprecation Policy","sidebarTitle":"Deprecation Policy","href":"/external-api/deprecation-policy"}]},{"group":"Assets","pages":[{"title":"Asset Check","openapi":"POST /asset/check","href":"/external-api/asset-check"},{"title":"Asset List","openapi":"POST /asset/list","href":"/external-api/asset-list"},{"title":"Asset Changelog","openapi":"POST /asset/changelog","href":"/external-api/asset-changelog"},{"title":"Asset Search","openapi":"POST /asset/search","href":"/external-api/asset-search"},{"title":"Asset Submit","openapi":"POST /asset/submit","href":"/external-api/asset-submit"},{"title":"Unblock Asset","openapi":"POST /asset/unblock","href":"/external-api/asset-unblock"},{"title":"Asset Parse","openapi":"POST /asset/parse","href":"/external-api/asset-parse"},{"title":"Start Asset Scan","openapi":"POST /asset/scan","href":"/external-api/asset-scan"},{"title":"Get Scan Result","openapi":"POST /scan/result","href":"/external-api/scan-result"},{"title":"Get Asset Details","openapi":"POST /asset/details","href":"/external-api/asset-details"},{"title":"Follow Asset","openapi":"POST /asset/follow","href":"/external-api/asset-follow"},{"title":"Unfollow Asset","openapi":"POST /asset/unfollow","href":"/external-api/asset-unfollow"},{"title":"List Followed Assets","openapi":"GET /asset/follows","href":"/external-api/asset-follows-list"}]},{"group":"Reports","pages":[{"title":"Creating Reports","sidebarTitle":"Creating Reports","href":"/external-api/creating-reports"},{"title":"Create Report","openapi":"POST /report/create","href":"/external-api/report-create"},{"title":"Upload Attachment","sidebarTitle":"Upload Attachment","openapi":"POST /attachment/upload","href":"/external-api/attachment-upload"},{"title":"Search Reports","openapi":"POST /reports/search","href":"/external-api/reports-search"}]},{"group":"Disputes","pages":[{"title":"Create Dispute","openapi":"POST /dispute/create","href":"/external-api/dispute-create"}]},{"group":"Webhooks","pages":[{"title":"Configure Webhook","openapi":"POST /webhook/config","href":"/external-api/webhook-config"}]},{"group":"Organization Brands","pages":[{"title":"List Organization Brands","openapi":"GET /organization/brands","href":"/external-api/organization-brands"}]},{"group":"Organization Assets","pages":[{"title":"List Organization Assets","openapi":"GET /organization/assets","href":"/external-api/organization-assets-list"},{"title":"Add Organization Assets","openapi":"POST /organization/assets","href":"/external-api/organization-assets-add"},{"title":"Update Organization Asset","openapi":"PATCH /organization/assets/{assetId}","href":"/external-api/organization-assets-update"},{"title":"Set Organization Asset Expiry","openapi":"POST /organization/assets/expiry","href":"/external-api/organization-assets-expiry"},{"title":"Remove Organization Asset","openapi":"DELETE /organization/assets/{assetId}","href":"/external-api/organization-assets-remove"}]},{"group":"Organization Asset Groups","pages":[{"title":"List Organization Asset Groups","openapi":"GET /organization/asset-groups","href":"/external-api/organization-asset-groups-list"},{"title":"Create Organization Asset Group","openapi":"POST /organization/asset-groups","href":"/external-api/organization-asset-groups-create"},{"title":"Update Organization Asset Group","openapi":"PATCH /organization/asset-groups/{groupId}","href":"/external-api/organization-asset-groups-update"},{"title":"Delete Organization Asset Group","openapi":"DELETE /organization/asset-groups/{groupId}","href":"/external-api/organization-asset-groups-delete"}]},{"group":"Organization Reports","pages":[{"title":"List Organization Reports","openapi":"GET /organization/reports","href":"/external-api/organization-reports-list"},{"title":"Get Organization Report","openapi":"GET /organization/reports/{reportId}","href":"/external-api/organization-reports-get"},{"title":"Review Organization Proposal","openapi":"POST /organization/proposals/{proposalId}/review","href":"/external-api/organization-proposals-review"},{"title":"Get Organization Reports (Deprecated)","openapi":"POST /public/getOrganizationReports","href":"/external-api/organization-reports"}]},{"group":"Threat Detection","pages":[{"title":"Evaluating suspected threats","href":"/external-api/evaluating-detections"},{"title":"List Suspected Threats","openapi":"POST /detection/list","href":"/external-api/detection-list"},{"title":"List Detection Sources","openapi":"GET /detection/sources","href":"/external-api/detection-sources-list"},{"title":"List Detection Configs","openapi":"POST /detection/configs/list","href":"/external-api/detection-configs-list"},{"title":"Create Detection Config","openapi":"POST /detection/configs/create","description":"Create a config that makes a detection source run for an organization. Sources that are disabled by default have no config, so they cannot be enabled through /detection/configs/update until one is created. A source can have several configs, each with its own query, schedule or brand.","href":"/external-api/detection-configs-create"},{"title":"Update Detection Config","openapi":"POST /detection/configs/update","href":"/external-api/detection-configs-update"},{"title":"Delete Detection Config","openapi":"POST /detection/configs/delete","description":"Delete one detection config so it stops scanning. Other configs sharing the same source keep running. Deleting the last config for a source that is enabled by default is not permanent, since automation re-creates it; disable it through /detection/configs/update instead.","href":"/external-api/detection-configs-delete"},{"title":"Run Detection Configs","openapi":"POST /detection/configs/run","href":"/external-api/detection-configs-run"},{"title":"Validate Detection Configs","openapi":"POST /detection/configs/validate","href":"/external-api/detection-configs-validate"},{"title":"Get Detection Drift Signals","openapi":"POST /detection/drift","href":"/external-api/detection-drift"},{"title":"List Threats","openapi":"POST /threats/list","href":"/external-api/threats-list"},{"title":"List Organization Watchlist","openapi":"GET /organization/watchlist","href":"/external-api/organization-watchlist-list"}]},{"group":"Dark Web","pages":[{"title":"List Dark Web Credential Targets","openapi":"GET /dark-web/credentials/targets","href":"/external-api/dark-web-credentials-targets"},{"title":"Search Dark Web Credentials","openapi":"POST /dark-web/credentials/search","href":"/external-api/dark-web-credentials-search"}]},{"group":"Takedowns","pages":[{"title":"List Takedowns","openapi":"POST /takedowns/list","href":"/external-api/takedowns-list"}]},{"group":"Metrics","pages":[{"title":"Get Metrics Summary","openapi":"POST /metrics/summary","href":"/external-api/metrics-summary"},{"title":"Get Metrics Breakdown","openapi":"POST /metrics/breakdown","href":"/external-api/metrics-breakdown"},{"title":"Get Found Threats Count","openapi":"POST /metrics/found","href":"/external-api/metrics-found"},{"title":"Get Blocked Threats by First-Report Source","openapi":"POST /metrics/found-by-source","href":"/external-api/metrics-found-by-source"},{"title":"Get Organization Metrics","openapi":"GET /organization/metrics","href":"/external-api/organization-metrics-list"},{"title":"Get Organization Metrics (Deprecated)","openapi":"POST /public/getOrganizationMetrics","href":"/external-api/organization-metrics"}]},{"group":"Account \u0026 Access","pages":[{"title":"Validate API Key","openapi":"GET /validate","href":"/external-api/validate"},{"title":"Get Current User","openapi":"POST /user/me","href":"/external-api/user-me"},{"title":"Update Current User","openapi":"POST /user/me/update","href":"/external-api/user-me-update"},{"title":"List User Organizations","openapi":"POST /user/orgs","href":"/external-api/user-orgs"},{"title":"Get User Organization","openapi":"GET /user/orgs/{slug}","href":"/external-api/user-orgs-get"}]},{"group":"Operations","pages":[{"title":"Get Operations Queue Snapshot","openapi":"POST /operations/queues/snapshot","href":"/external-api/operations-queues-snapshot"}]},{"group":"Staff","pages":[{"title":"Create Organization (Staff)","openapi":"POST /staff/organization/create","href":"/external-api/staff-organization-create"}]},{"group":"Healthchecks","pages":[{"title":"List Healthchecks","openapi":"POST /healthchecks/list","href":"/external-api/healthchecks-list"},{"title":"Silent Detection Configs","openapi":"POST /healthchecks/detections/silent-configs","href":"/external-api/healthchecks-detections-silent-configs"},{"title":"Reviewing Backlog","openapi":"POST /healthchecks/reviewing/backlog","href":"/external-api/healthchecks-reviewing-backlog"},{"title":"Old Proposals in Review","openapi":"POST /healthchecks/reviewing/old-proposals","href":"/external-api/healthchecks-reviewing-old-proposals"},{"title":"TODO Takedown Volume","openapi":"POST /healthchecks/takedowns/todo-volume","href":"/external-api/healthchecks-takedowns-todo-volume"},{"title":"IN_PROGRESS Takedown Volume","openapi":"POST /healthchecks/takedowns/in-progress-volume","href":"/external-api/healthchecks-takedowns-in-progress-volume"},{"title":"Stale IN_PROGRESS Takedowns","openapi":"POST /healthchecks/takedowns/stale-in-progress","href":"/external-api/healthchecks-takedowns-stale-in-progress"},{"title":"Cancelled Takedown Count","openapi":"POST /healthchecks/takedowns/cancelled-count","href":"/external-api/healthchecks-takedowns-cancelled-count"},{"title":"Automated Takedowns Disabled","openapi":"POST /healthchecks/takedowns/automation-off","href":"/external-api/healthchecks-takedowns-automation-off"},{"title":"Dead Asset Spike","openapi":"POST /healthchecks/assets/dead-asset-spike","href":"/external-api/healthchecks-assets-dead-asset-spike"},{"title":"Missing Contact URL","openapi":"POST /healthchecks/organization/missing-contact-url","href":"/external-api/healthchecks-organization-missing-contact-url"}]}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/overview"}]},{"tab":"JavaScript SDK","pages":[{"title":"JavaScript SDK","href":"/sdk/overview"}]},{"tab":"Glossary","pages":[{"title":"Glossary","href":"/glossary/overview"}]}]},"title":"Update Detection Config - ChainPatrol","buildId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","deploymentId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-2jF_ccbi.js","utils-NNMVb_sb.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DdtBhtt6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D1OxL5O8.js","snippetPresets-DDC-KAXp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BOnTqOyQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-EEWI6FIO.js","shallow-fGZcWzm2.js","getApiPlaygroundDisplay-B3B8qEvw.js","CodeSnippet-BG9nsSU4.js","CodeSnippets-BlRACLKl.js","Page-FtoC8lZ9.js","getPastedJson-COV-Kgnr.js","icon-BXu3lasn.js","MethodPill-DGMUqJKh.js","DuplicateIcon-JEUJDHz_.js","createIcon-BDFucJ34.js","DynamicMarkdown-34OtG_BH.js","SectionHeading-tBbRD59j.js","axios-vUo_bRtp.js","Markdown-SoRz2nk2.js","clsx-BOmkPVIU.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DN0dCbTw.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BcsLYcfW.js"]}