Deletes an integration app with its encrypted credentials and its execution history. Tools that still name the app_id fail with App <id> not found until you remove them. Check List app usages first to see which agents use the app.
Request#
| Path parameter | Type | Required | Description |
|---|---|---|---|
id |
string | Yes | The app_id. |
Example request#
curl -X DELETE https://api.tried.com.au/delete-app/app_6f1c2a9e4b7d3058a1e2c4f9 \
-H "Authorization: Bearer $TRIED_API_KEY"await fetch("https://api.tried.com.au/delete-app/app_6f1c2a9e4b7d3058a1e2c4f9", {
method: "DELETE",
headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});import os, requests
requests.delete(
"https://api.tried.com.au/delete-app/app_6f1c2a9e4b7d3058a1e2c4f9",
headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)Response#
204 No Content with an empty body.
Errors#
| Status | When |
|---|---|
401 |
Missing or invalid API key. |
403 |
The key's IP allowlist or scopes reject the request. This route needs the admin scope. Dashboard users need the admin or developer role. |
404 |
App <id> not found in this workspace. |
429 |
Rate limit exceeded. See Rate limits. |
See Errors for the body format.
Retell compatibility#
Same path, method and 204 status as Retell.