Skip to content
Delete a custom integration

Delete a custom integration

Delete the integration, its tools, policies, World switches, and hooks.

DELETE/api/v1/custom-integrations/:key

Request#

TypeScript
const 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#

keystringrequired

The saved integration's command key, URL-encoded.

Responses#

Returns the result of this operation.

200 response
{
  "deleted": true
}
More about this endpoint

Existing tool-call and enablement history remains available.