Loops
Delete Loop
Permanently delete a loop and all associated data. Only the loop creator can delete loops. This action cannot be undone.
DELETE
Permanently delete a loop and all its associated data including members, requests, and history. This is a destructive operation that cannot be undone.
Causes:
Cause: Only loop creators can delete loops.
Cause: Some implementations may prevent deletion of loops with pending or claimed requests.
Solution: Cancel or complete all active requests first.
Authentication
Your API key for authentication
Path Parameters
The unique identifier of the loop to delete
Response
Whether an error occurred
Success message confirming deletion
Pre-Deletion Considerations
What Gets Deleted
When you delete a loop, the following data is permanently removed:Loop Configuration
Loop Configuration
- Loop name, description, and icon
- Creation and update timestamps
- Loop creator information
- All loop settings and metadata
Member Data
Member Data
- All member relationships
- Member join dates and status
- Member activity history within the loop
- Invitation records and pending invitations
Request Data
Request Data
- All requests created within the loop
- Request content, priority, and configuration
- Request status and lifecycle information
- Broadcast and notification history
Response Data
Response Data
- All reviewer responses and decisions
- Response timestamps and metadata
- Feedback and rating information
- Performance analytics and metrics
Data That Survives Deletion
User Accounts
User Accounts
User accounts of loop members remain intact. Only the membership relationship is removed.
API Usage Statistics
API Usage Statistics
Your overall API usage statistics are preserved for billing and analytics.
Audit Logs
Audit Logs
High-level audit logs may be retained for security and compliance purposes.
Safety Checks
Before Deleting a Loop
Implement these safety checks in your code:Bulk Operations
Delete Multiple Loops
Handle multiple loop deletions with error handling:Access Control
Who Can Delete Loops
Loop Creators Only
Loop Creators Only
Only the user who created the loop can delete it. This is strictly enforced by checking the
creator_id.API Key Authorization
API Key Authorization
No Member Deletion Rights
No Member Deletion Rights
Loop members cannot delete loops, even if they are administrators in the mobile app.
Error Handling
Common Error Scenarios
Loop Not Found
Loop Not Found
- Invalid loop ID
- Loop already deleted
- User doesn’t own the loop
Access Denied
Access Denied
Loop Has Active Requests
Loop Has Active Requests
Alternatives to Deletion
Archive Instead of Delete
Consider these alternatives before permanent deletion:Recovery Options
No Recovery Available
Prevention Strategies
- Export Data First: Before deletion, export important data
- Use Staging Loops: Test with non-production loops
- Archive Instead: Consider archiving rather than deleting
- Team Review: Have deletions reviewed by team members
Next Steps
Create New Loop
Create a new loop to replace the deleted one if needed.
Export Data
Learn how to export request and response data before deletion.
Loop Management
Return to loop management and view your remaining loops.