Skip to content
TriedDocs
Account

Delete dashboard

Delete a custom analytics dashboard.

DELETEhttps://api.tried.com.au/dashboards/{id}

Deletes a dashboard and its charts. The call data is not affected.

Request#

Field Type Required Description
id string Yes Dashboard ID, for example dash_6e1a9c3f5b7d2e4a8c0f1b3d.

Example request#

curl -X DELETE https://api.tried.com.au/dashboards/dash_6e1a9c3f5b7d2e4a8c0f1b3d \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/dashboards/dash_6e1a9c3f5b7d2e4a8c0f1b3d", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
// res.status is 204
import os, requests

res = requests.delete(
    "https://api.tried.com.au/dashboards/dash_6e1a9c3f5b7d2e4a8c0f1b3d",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
# res.status_code is 204

Response#

204 No Content

The response has no 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 analytics scope. Dashboard users with the member role get The member role is read-only.
404 No dashboard with that ID in the workspace: Dashboard not found.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.

Retell compatibility#

Retell's public API reference has no analytics endpoints, so this route has no Retell SDK equivalent.