Embeds
Delete an Embed
Delete an embed from your data app. This action cannot be undone.
DELETE
Permanently delete an embed from your data app. This will remove the embed and invalidate any associated guest tokens.
Use this endpoint for all new integrations. This is the recommended endpoint format.
This action is irreversible. Once an embed configuration is deleted, all associated guest tokens will become invalid and embedded dashboards will stop working.
Endpoint Formats
- New Endpoint (Recommended)
- Legacy Endpoint (Deprecated Soon)
Authentication
All API requests must include your API key in the Authorization header. Get your API token when creating a data app - see our data app creation guide for details. Finding your API token: For detailed instructions, see the API Token guide.Headers
Query Parameters
The unique identifier of the embed configuration to delete. Get this from the create embed response or list embeds API.
Optional parameter to also delete the associated dashboard along with the embed configuration. Set to
"true" to enable dashboard deletion.Response
Examples
Legacy Endpoint Examples
The following examples use the deprecated POST endpoint. These are provided for reference only. Please use the DELETE endpoint examples above for all new integrations.
Error Codes
HTTP Status Code Summary
Possible Errors
Usage Examples
Basic Deletion
Batch Deletion
Safe Deletion with Verification
Best Practices
Verify Before Delete
Always verify the embed exists before attempting deletion
Handle Errors
Implement proper error handling for failed deletions
Update Documentation
Update your integration documentation after deletions
Monitor Impact
Monitor for any broken embedded dashboards after deletion
Next Steps
Embed a Pre-built Dashboard/Metric
Create new embed configurations to replace deleted ones
List All Embeds
View all remaining embed configurations
Update an Embed
Modify existing embed configurations instead of deleting
Guest Token API
Generate new tokens for your updated configurations

