delete

View as MarkdownOpen in Claude

Delete a SWML script resource.

Path parameters

idstringRequiredformat: "uuid"
Unique ID of a SWML Script.

Response

Example

import { RestClient } from "@signalwire/sdk";
const client = new RestClient({
project: "your-project-id",
token: "your-api-token",
host: "your-space.signalwire.com",
});
await client.fabric.swmlScripts.delete("resource-id");
console.log("Swml Script deleted");