Change a prompt’s text, its active state, or both. Send at least one. Prompts are never hard-deleted: active:false disables (keeps scan history), active:true re-enables (and counts against your prompt limit again).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"agentled API","description":"Programmatic access to the agentled AI Search monitor.","colors":{"primary":"#4f7a12","light":"#c8f04a","dark":"#c8f04a"},"navbar":{"links":[{"href":"https://agentled.co/ai-search","label":"Dashboard"}],"primary":{"type":"button","label":"agentled.co","href":"https://agentled.co"}},"footer":{"socials":{"website":"https://agentled.co"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agentled","hasAudioNarration":false,"actualSubdomain":"agentled","customDomains":["docs.agentled.co"],"gitSource":{"type":"github","owner":"agent-led-growth","repo":"agentled","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6a9b0d0c690697e6eeae31d1","collectionId":"4562b0be-7c5a-432d-91f8-de1ce354d839","liveDeploymentHistoryId":"6a9b0d0c690697e6eeae31d1","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a9b0d0c690697e6eeae31d1","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API reference","count":14},{"language":"default","tag":"Reference","count":14},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Getting started","count":4},{"language":"default","tag":"Brands","count":4},{"language":"default","tag":"Prompts","count":3},{"language":"default","tag":"Concepts","count":2},{"language":"default","tag":"Geo","count":2},{"language":"default","tag":"Scans","count":2},{"language":"default","tag":"Answers","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"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":"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":"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":"full-page-search","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":"turbopuffer-dual-write","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},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/prompts/edit-or-enabledisable-a-prompt","slug":"/api-reference/prompts/edit-or-enabledisable-a-prompt","pageMetadata":{"title":"Edit or enable/disable a prompt","description":"Change a prompt's `text`, its `active` state, or both. Send at least one. Prompts are never hard-deleted: `active:false` disables (keeps scan history), `active:true` re-enables (and counts against your prompt limit again).","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json patch /brands/{id}/prompts/{promptId}","href":"/api-reference/prompts/edit-or-enabledisable-a-prompt","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Change a prompt’s \", _jsx(_components.code, {\n children: \"text\"\n }), \", its \", _jsx(_components.code, {\n children: \"active\"\n }), \" state, or both. Send at least one. Prompts are never hard-deleted: \", _jsx(_components.code, {\n children: \"active:false\"\n }), \" disables (keeps scan history), \", _jsx(_components.code, {\n children: \"active:true\"\n }), \" re-enables (and counts against your prompt limit again).\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Edit or enable/disable a prompt","description":"Change a prompt's `text`, its `active` state, or both. Send at least one. Prompts are never hard-deleted: `active:false` disables (keeps scan history), `active:true` re-enables (and counts against your prompt limit again).","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json patch /brands/{id}/prompts/{promptId}","href":"/api-reference/prompts/edit-or-enabledisable-a-prompt","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Prompts"],"summary":"Edit or enable/disable a prompt","description":"Change a prompt's `text`, its `active` state, or both. Send at least one. Prompts are never hard-deleted: `active:false` disables (keeps scan history), `active:true` re-enables (and counts against your prompt limit again).","operationId":"updatePrompt","parameters":["baab4e52-d8b8-4f26-b0f0-cc09dc901989","1ecf2bfc-15bf-40db-b552-825dcd4b0890"],"requestBody":"11602697-d43e-41b0-9574-8bdd9b7ab786","responses":{"200":"833e47d6-8475-4873-8613-d1c9d996a4b0","400":"d9a61924-ab92-4b04-80e4-c128b6e0d3bd","401":"23faed9f-db36-4cb1-950d-5c3d9411a4cf","404":"8f4796ef-ebe2-4711-8a91-98eaf8cdbfab","409":"c8fe9247-6667-4d2f-9413-334a8f5409f6","500":"78e1f788-4ab8-4fd4-bfdf-6fb349dc3fec"},"method":"patch","type":"path","servers":["e32573d4-e6d0-4ff4-9fdc-b15fc88db8a8"],"security":["486f0ac3-dba4-47f5-997f-38ccbb7cb049"],"path":"/brands/{id}/prompts/{promptId}","baseUrlOptions":["https://agentled.co/api/v1"],"title":"Edit or enable/disable a prompt","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"baab4e52-d8b8-4f26-b0f0-cc09dc901989":{"name":"id","in":"path","required":true,"description":"Brand id (UUID). A value that is not a UUID returns 404.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Brand id (UUID). A value that is not a UUID returns 404.","uniqueKey":"","typeLabel":"string\u003cuuid>"}},"1ecf2bfc-15bf-40db-b552-825dcd4b0890":{"name":"promptId","in":"path","required":true,"description":"Prompt id (UUID). A value that is not a UUID returns 404.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"Prompt id (UUID). A value that is not a UUID returns 404.","uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Provide `text`, `active`, or both.","minProperties":1,"properties":{"text":{"type":"string","maxLength":300,"uniqueKey":"text","typeLabel":"string"},"active":{"type":"boolean","description":"false disables (soft-delete); true re-enables.","uniqueKey":"active","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"text":"\u003cstring>","active":true}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"833e47d6-8475-4873-8613-d1c9d996a4b0":{"description":"The updated prompt.","content":{"application/json":{"schema":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"object","properties":{"id":{"type":"string","format":"uuid","uniqueKey":"prompt.id","typeLabel":"string\u003cuuid>"},"brandId":{"type":"string","format":"uuid","uniqueKey":"prompt.brandId","typeLabel":"string\u003cuuid>"},"text":{"type":"string","uniqueKey":"prompt.text","typeLabel":"string"},"active":{"type":"boolean","description":"False = disabled (soft-deleted, kept for history).","uniqueKey":"prompt.active","typeLabel":"boolean"},"sortOrder":{"oneOf":[{"type":"integer","uniqueKey":"prompt.sortOrder.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"prompt.sortOrder.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.sortOrder","typeLabel":"integer | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"prompt.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"prompt.updatedAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"prompt","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"prompt":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","brandId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","text":"\u003cstring>","active":true,"sortOrder":123,"createdAt":"2023-11-07T05:31:56Z","updatedAt":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d9a61924-ab92-4b04-80e4-c128b6e0d3bd":{"description":"The request body or a parameter was invalid.","content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape. Branch on the stable `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code.","enum":["unauthorized","not_found","bad_request","limit_reached","server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"upgradeUrl":{"type":"string","description":"Present only when `code` is `limit_reached`: where to upgrade the plan.","uniqueKey":"error.upgradeUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","upgradeUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"23faed9f-db36-4cb1-950d-5c3d9411a4cf":{"description":"Missing or invalid API key.","content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape. Branch on the stable `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code.","enum":["unauthorized","not_found","bad_request","limit_reached","server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"upgradeUrl":{"type":"string","description":"Present only when `code` is `limit_reached`: where to upgrade the plan.","uniqueKey":"error.upgradeUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","upgradeUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8f4796ef-ebe2-4711-8a91-98eaf8cdbfab":{"description":"The resource does not exist, or your account cannot see it.","content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape. Branch on the stable `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code.","enum":["unauthorized","not_found","bad_request","limit_reached","server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"upgradeUrl":{"type":"string","description":"Present only when `code` is `limit_reached`: where to upgrade the plan.","uniqueKey":"error.upgradeUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","upgradeUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c8fe9247-6667-4d2f-9413-334a8f5409f6":{"description":"A plan limit was reached. The error carries `upgradeUrl`.","content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape. Branch on the stable `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code.","enum":["unauthorized","not_found","bad_request","limit_reached","server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"upgradeUrl":{"type":"string","description":"Present only when `code` is `limit_reached`: where to upgrade the plan.","uniqueKey":"error.upgradeUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","upgradeUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"78e1f788-4ab8-4fd4-bfdf-6fb349dc3fec":{"description":"Something went wrong. Retry.","content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape. Branch on the stable `error.code`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Stable machine-readable code.","enum":["unauthorized","not_found","bad_request","limit_reached","server_error"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"upgradeUrl":{"type":"string","description":"Present only when `code` is `limit_reached`: where to upgrade the plan.","uniqueKey":"error.upgradeUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","upgradeUrl":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"486f0ac3-dba4-47f5-997f-38ccbb7cb049":{"bearerAuth":{"type":"http","scheme":"bearer","description":"An API key from the Account tab, sent as `Authorization: Bearer agl_live_...`. Keys are secret; store them server-side.","scopes":[]}}},"servers":{"e32573d4-e6d0-4ff4-9fdc-b15fc88db8a8":{"url":"https://agentled.co/api/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key from the Account tab, sent as `Authorization: Bearer agl_live_...`. Keys are secret; store them server-side.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key from the Account tab, sent as `Authorization: Bearer agl_live_...`. Keys are secret; store them server-side.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://agentled.co/api/v1/openapi.json"},"subdomain":"agentled","siteName":"agentled API","title":"Edit or enable/disable a prompt - agentled API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-04T11:20:23.115Z","originalFileLocation":"api-reference/prompts/edit-or-enabledisable-a-prompt.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=\"system\"}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=\"Change a prompt\u0026#x27;s text, its active state, or both. Send at least one. Prompts are never hard-deleted: active:false disables (keeps scan history), active:true re-enables (and counts against your prompt limit again).\">\u003cmeta data-mint-head name=\"application-name\" content=\"agentled API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Edit or enable/disable a prompt - agentled API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Change a prompt\u0026#x27;s text, its active state, or both. Send at least one. Prompts are never hard-deleted: active:false disables (keeps scan history), active:true re-enables (and counts against your prompt limit again).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"agentled API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agentled.mintlify.app/_mintlify/api/og/v2?division=Prompts\u0026amp;title=Edit+or+enable%2Fdisable+a+prompt\u0026amp;description=Change+a+prompt%27s+%60text%60%2C+its+%60active%60+state%2C+or+both.+Send+at+least+one.+Prompts+are+never+hard-deleted%3A+%60active%3Afalse%60+disables+%28keeps+scan+history%29%2C+%60active%3A\u0026amp;theme=74adf45d4470f5fd3e026ddc\u0026amp;signature=09dab78767e2431d969c5a18c1c1b1af62e725909a8af74ac707637deadd939e\">\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=\"Edit or enable/disable a prompt - agentled API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Change a prompt\u0026#x27;s text, its active state, or both. Send at least one. Prompts are never hard-deleted: active:false disables (keeps scan history), active:true re-enables (and counts against your prompt limit again).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agentled.mintlify.app/_mintlify/api/og/v2?division=Prompts\u0026amp;title=Edit+or+enable%2Fdisable+a+prompt\u0026amp;description=Change+a+prompt%27s+%60text%60%2C+its+%60active%60+state%2C+or+both.+Send+at+least+one.+Prompts+are+never+hard-deleted%3A+%60active%3Afalse%60+disables+%28keeps+scan+history%29%2C+%60active%3A\u0026amp;theme=74adf45d4470f5fd3e026ddc\u0026amp;signature=09dab78767e2431d969c5a18c1c1b1af62e725909a8af74ac707637deadd939e\">\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=\"https://mintlify.s3.us-west-1.amazonaws.com/agentled/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"agentled API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4f7a12\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/prompts/edit-or-enabledisable-a-prompt.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.agentled.co/#organization\",\"name\":\"agentled API\",\"url\":\"https://docs.agentled.co\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.agentled.co#website\",\"name\":\"agentled API\",\"url\":\"https://docs.agentled.co\",\"publisher\":{\"@id\":\"https://docs.agentled.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt#webpage\",\"url\":\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt\",\"name\":\"Edit or enable/disable a prompt\",\"description\":\"Change a prompt's text, its active state, or both. Send at least one. Prompts are never hard-deleted: active:false disables (keeps scan history), active:true re-enables (and counts against your prompt limit again).\",\"dateModified\":\"2026-09-04T11:20:23.115Z\",\"isPartOf\":{\"@id\":\"https://docs.agentled.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Reference\",\"item\":\"https://docs.agentled.co/api-reference/plan/get-the-accounts-plan\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Prompts\",\"item\":\"https://docs.agentled.co/api-reference/prompts/list-a-brands-prompts\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Edit or enable/disable a prompt\",\"item\":\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt#apireference\",\"headline\":\"Edit or enable/disable a prompt\",\"name\":\"Edit or enable/disable a prompt\",\"description\":\"Change a prompt's text, its active state, or both. Send at least one. Prompts are never hard-deleted: active:false disables (keeps scan history), active:true re-enables (and counts against your prompt limit again).\",\"url\":\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt\",\"mainEntityOfPage\":{\"@id\":\"https://docs.agentled.co/api-reference/prompts/edit-or-enabledisable-a-prompt#webpage\"},\"dateModified\":\"2026-09-04T11:20:23.115Z\",\"publisher\":{\"@id\":\"https://docs.agentled.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.agentled.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"agentled API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"agentled API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Reference","pages":[{"group":"Plan","pages":[{"title":"Get the account's plan","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /plan","href":"/api-reference/plan/get-the-accounts-plan"}]},{"group":"Brands","pages":[{"title":"List brands","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands","href":"/api-reference/brands/list-brands"},{"title":"Create a brand","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json post /brands","href":"/api-reference/brands/create-a-brand"},{"title":"Get a brand","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}","href":"/api-reference/brands/get-a-brand"},{"title":"Set a brand's location","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json patch /brands/{id}","href":"/api-reference/brands/set-a-brands-location"}]},{"group":"Prompts","pages":[{"title":"List a brand's prompts","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}/prompts","href":"/api-reference/prompts/list-a-brands-prompts"},{"title":"Add a prompt","description":"Add an active prompt to the brand. Counts against your account-wide prompt limit (across all brands); exceeding it returns 409.","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json post /brands/{id}/prompts","href":"/api-reference/prompts/add-a-prompt"},{"title":"Edit or enable/disable a prompt","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json patch /brands/{id}/prompts/{promptId}","href":"/api-reference/prompts/edit-or-enabledisable-a-prompt"}]},{"group":"Answers","pages":[{"title":"List a prompt's answers","description":"The answer this prompt got in each completed scan, newest first, with the brands named and the domains cited. Pages over completed scan runs, so a page can hold fewer than `limit` answers when a run had no answer for this prompt.","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}/prompts/{promptId}/answers","href":"/api-reference/answers/list-a-prompts-answers"}]},{"group":"Metrics","pages":[{"title":"Get a brand's metrics","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}/metrics","href":"/api-reference/metrics/get-a-brands-metrics"}]},{"group":"Scans","pages":[{"title":"List a brand's scans","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /brands/{id}/scans","href":"/api-reference/scans/list-a-brands-scans"},{"title":"Get a scan","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /scans/{runId}","href":"/api-reference/scans/get-a-scan"}]},{"group":"Geo","pages":[{"title":"List countries","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /geo/countries","href":"/api-reference/geo/list-countries"},{"title":"List a country's cities","deprecated":null,"version":null,"openapi":"https://agentled.co/api/v1/openapi.json get /geo/countries/{code}/cities","href":"/api-reference/geo/list-a-countrys-cities"}]}]}]}]},"basePath":"","title":"Edit or enable/disable a prompt - agentled API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}