DELETE
/v1/apps/{applicationId}betaapiKeyworkspace
When to use
Delete an app and its hosted deployment.
For agents
Requires app admin permission. Deletion is asynchronous: poll get until the app returns 404. A failed deployment needs administrator recovery.
Example
import { PermuteClient } from '@permute/sdk';
const orgClient = new PermuteClient({
apiKey: process.env.PERMUTE_API_KEY!,
});
const client = orgClient.withWorkspace(process.env.PERMUTE_WORKSPACE_ID!);
const result = await client.apps.delete('appl_abcdefghijklmnopqrstuvwx');Response
{
"data": {
"id": "appl_abcdefghijklmnopqrstuvwx",
"deleted": false
}
}