Skip to content

entry delete

Permanently delete an entry that you own.

Usage

grapevine entry delete <entry-id> [options]

Arguments

entry-id

  • Type: string (UUID)
  • Required: Yes

The unique identifier of the entry to delete.

grapevine entry delete "entry-123e4567-e89b-12d3-a456-426614174000"

Options

-f, --force

  • Type: boolean
  • Default: false

Skip confirmation prompt and delete immediately.

grapevine entry delete "entry-123e4567..." --force

--refund

  • Type: boolean
  • Default: false

Attempt to refund recent purchases (last 24 hours only).

grapevine entry delete "entry-123e4567..." --refund

Examples

Delete with Confirmation

grapevine entry delete "entry-123e4567-e89b-12d3-a456-426614174000"

Force Delete

grapevine entry delete "entry-123e4567..." --force

Delete with Refunds

grapevine entry delete "entry-123e4567..." --refund

Output

With Confirmation

⚠️  Delete Entry Confirmation
 
📄 Entry to Delete:
   Title: Getting Started with TypeScript
   ID: entry-123e4567-e89b-12d3-a456-426614174000
   Feed: Tech Blog
   Price: $0.50 USDC
   Views: 1,247
   Purchases: 89
   Revenue: $44.50 USDC
   Published: 2024-03-01
 
🚨 WARNING: This action cannot be undone!
   - Entry will be permanently deleted
   - Content will be removed from IPFS
   - Purchase history will be preserved
   - Revenue earned will remain in your wallet
 
Recent purchases (last 24h): 3 purchases worth $1.50 USDC
Use --refund flag to attempt refunding recent purchases
 
Do you want to continue? (y/N): y
 
Deleting entry...
✅ Entry deleted: entry-123e4567-e89b-12d3-a456-426614174000

Force Delete

Deleting entry...
 Entry deleted: entry-123e4567-e89b-12d3-a456-426614174000
 Content removed from system
 IPFS content marked for garbage collection
 Revenue history preserved: $44.50 USDC earned

With Refunds

Deleting entry...
Processing refunds for recent purchases...
 Refunded 3 recent purchases: $1.50 USDC total
⚠️  Unable to refund 86 older purchases (>24h)
 
 Entry deleted: entry-123e4567-e89b-12d3-a456-426614174000
 Content removed from system  
 Recent purchases refunded: $1.50 USDC
 Net revenue preserved: $43.00 USDC

Authentication

Requires authentication and you must own the entry to delete it.

Environment Variable
export PRIVATE_KEY="0xYourPrivateKeyHere"
grapevine entry delete "entry-123e4567..."

Payment

Entry deletion requires x402 micropayment (handled automatically). Refunds (if enabled) are processed automatically. Ensure you have:

  • ETH for gas fees
  • USDC for the deletion fee

Important Notes

Permanent Action

  • No Recovery: Deleted entries cannot be restored
  • Content Loss: All content is permanently removed from IPFS
  • Link Breakage: Direct links to the entry will return 404

Revenue Impact

  • Earned Revenue: Money already earned remains in your wallet
  • Refund Window: Only purchases from last 24 hours can be refunded
  • Refund Limitations: Refunds depend on buyer wallet availability

Purchase History

  • Buyer Records: Buyers keep their purchase history
  • Access Loss: Buyers lose access to the deleted content
  • No Notifications: Buyers are not automatically notified of deletion

Safety Tips

  1. Export Content: Save important content before deletion
  2. Check Revenue: Review how much you've earned from the entry
  3. Consider Refunds: Use --refund for recently published content
  4. Verify Entry ID: Double-check you're deleting the correct entry

Alternative Actions

Instead of deletion, consider:

# Update entry to free access
grapevine entry update "entry-123e4567..." --price 0
 
# Archive by moving to different feed
grapevine entry update "entry-123e4567..." --feed "archive-feed-id"
 
# Update content to redirect readers
grapevine entry update "entry-123e4567..." --content "This content has been moved to: [new location]"

Related Commands