Delete a custom integration
Delete the integration, its tools, policies, World switches, and hooks.
DELETE
/api/v1/custom-integrations/:keyconst response = await fetch("https://api.smallworld.sh/api/v1/custom-integrations/example", {
method: "DELETE",
headers: { Authorization: `Bearer ${apiKey}` },
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const result = await response.json();
Use your server-side apiKey. Replace the example IDs.
Path parameters#
keystringrequiredThe saved integration's command key, URL-encoded.
Responses#
Returns the result of this operation.
{
"deleted": true
}
More about this endpoint
Existing tool-call and enablement history remains available.