Overview
Permanently deletes a stack and all its associated data from your ToolRouter account. This action cannot be undone.Endpoint
Authentication
This endpoint requires an API key. Include it in the Authorization header:Path Parameters
Response
Example Request
Example Response
What Gets Deleted
When you delete a stack, the following data is permanently removed:- Stack configuration: All stack settings and metadata
- Server associations: All servers added to the stack
- Credentials: All stored credentials for servers in the stack
- Usage analytics: Historical usage data for the stack
- Secure endpoints: Any secure client endpoints created for the stack
The actual servers in the ToolRouter marketplace are not deleted - only their association with your stack is removed.
Error Responses
Best Practices
Before deleting a stack, consider:- Backup important data: Export any important configurations or credential information
- Check dependencies: Ensure no applications are actively using this stack
- Review usage: Check if the stack has been used recently
- Alternative approach: Consider updating the stack instead of deleting it
Recovery
If you accidentally delete a stack, you will need to:- Create a new stack with the same configuration
- Re-add all servers to the new stack
- Re-configure all credentials
- Update any applications to use the new stack

