Data App CRUD
Delete Data App
Permanently delete a Data App and all its associated resources.
DELETE
Permanently delete a Data App from your organization. This action removes the Data App along with all associated embed configurations and API tokens.Documentation Index
Fetch the complete documentation index at: https://docs.usedatabrain.com/llms.txt
Use this file to discover all available pages before exploring further.
Destructive Operation: This action is irreversible. Deleting a Data App will:
- Remove all embed configurations associated with this Data App
- Invalidate all API tokens for this Data App
- Break any embedded dashboards using this Data App’s tokens
Endpoint Formats
- New Endpoint (Recommended)
- Legacy Endpoint (Deprecated Soon)
Authentication
This endpoint requires a service token in the Authorization header. Service tokens differ from data app API keys and provide organization-level permissions. To access your service token:- In Settings page, navigate to the Service Tokens section.
- Click the “Generate Token” button to create a new service token if you don’t have one already.
Headers
Bearer token for API authentication. Use your service token (not data app API key).
Query Parameters
The name of the Data App to delete. This must exactly match the Data App name.
Response
The name of the deleted Data App for confirmation.
Error object returned only when the request fails. Not included in successful responses.
Examples
HTTP Status Code Summary
| Status Code | Description |
|---|---|
200 | OK - Data App deleted successfully |
400 | Bad Request - Invalid request parameters |
500 | Internal Server Error - Server error occurred |
Possible Errors
| Error Code | HTTP Status | Description |
|---|---|---|
INVALID_REQUEST_BODY | 400 | Missing or invalid name parameter |
DATA_APP_NOT_FOUND | 400 | Data App with given name not found |
AUTHENTICATION_ERROR | 400 | Invalid or missing service token |
INTERNAL_SERVER_ERROR | 500 | Server error |
Quick Start Guide
Verify the Data App exists
Before deleting, confirm the Data App exists using the List Data Apps API:
Update your applications
Before deletion, update your applications to remove any references to this Data App’s API tokens and embed configurations.
Best Practices
Verify Before Delete
Always verify the Data App exists and check its embeds before deletion
Update Applications First
Update your applications to remove Data App references before deletion
Handle Errors
Implement proper error handling for failed deletions
Monitor Impact
Monitor for any broken embedded dashboards after deletion
Next Steps
Create Data App
Create new Data Apps to replace deleted ones
List Data Apps
View all remaining Data Apps
Create API Token
Generate API tokens for your Data Apps
List Embeds
View embed configurations for your Data Apps

