docs: remove leftover "Create a can" curl example for deleted endpoint
CI / test (pull_request) Successful in 20s
CI / docker (pull_request) Skipped

This commit is contained in:
fen committed 2026-10-16 16:57:25 -05:00
1 parent e54fbc36ef
commit 1e696b1cbb
1 file changed
-11
-11
View File
@@ -248,17 +248,6 @@ Hard delete immediately (row removed):
curl -X DELETE -H "Authorization: Bearer TOKEN" http://localhost:8080/api/pastes/ab12cd34/redeem curl -X DELETE -H "Authorization: Bearer TOKEN" http://localhost:8080/api/pastes/ab12cd34/redeem
``` ```
Create a can:
```bash
curl -X POST http://localhost:8080/api/pastes/can \
-F "title=My bundle" \
-F "expires_in=48h" \
-F "custom_slug=my-bundle" \
-F 'json_items=[{"title":"notes.txt","content":"some notes"}]' \
-F "files=@screenshot.png"
```
## Deletion and expiry behavior ## Deletion and expiry behavior
- Expired pastes are soft-deleted by a background sweeper that runs every minute. - Expired pastes are soft-deleted by a background sweeper that runs every minute.