/extensions-admin/{slug}/disableDisable Extension
Disables an enabled extension on the specified project.
The per-project plugin token is revoked, in-flight hook deliveries are cancelled, and the deactivate lifecycle hook fires (best-effort, single attempt).
The per-project SQL schema and data are preserved by default; a subsequent re-enable resumes against the existing data.
This is distinct from purge — no data is destroyed.
Requires PROJECT_ADMIN.
| slug * | path | |
| projectSlug * | path | The project's slug: the path segment after It is unique within the org. |
| HTTP | K9O Code | Description |
|---|---|---|
| 200 | Success | |
| 401 | K9O_SESSION_EXPIRED | Your session has expired; authenticate again to continue. |
| 403 | K9O_ACCESS_DENIED | Your role does not permit disabling extensions on this project; a PROJECT_ADMIN role is required. |
| 404 | K9O_EXTENSION_NOT_FOUND | No extension with this slug exists in the registry. |
| data * | object | |
| installId * | string | The project's install record for the extension ( |
| extensionSlug * | string | The extension's slug. |
| projectId * | string | The project's id ( |
| status * | "disabled" | Always |
| functionsRetired * | integer | How many of the extension's functions were switched off. 0 when it was already disabled. |
| mcpToolsRemoved * | integer | How many of its MCP tools were removed. 0 when it was already disabled. |
| meta * | any |
curl -X DELETE 'https://<org>.api-<region>.k9o.io/@storefront/extensions-admin/demoext/disable' \
-H 'Authorization: Bearer $K9O_TOKEN'Showing example in cURL
{
"data": {
"installId": "string",
"extensionSlug": "string",
"projectId": "string",
"status": "disabled",
"functionsRetired": 0,
"mcpToolsRemoved": 0
}
}