Admin Operations (Practical)
See full reference in Admin Operations.
These operations are for cleanup and recovery, not normal data flow. Use delete when one bad record must be removed; use wipe when resetting a stream or environment. Because these endpoints are destructive, validate IDs and stream names carefully before execution.
Delete One Notification by ID
curl -X DELETE "http://127.0.0.1:8000/api/v1/admin/notification/extreme_event@42"
Expected:
200if it exists404if stream/sequence does not exist400for invalid format
Wipe One Stream
curl -X DELETE "http://127.0.0.1:8000/api/v1/admin/wipe/stream" \
-H "Content-Type: application/json" \
-d '{"stream_name":"EXTREME_EVENT"}'
Expected:
200- stream definition remains, messages are removed
Wipe All Streams
curl -X DELETE "http://127.0.0.1:8000/api/v1/admin/wipe/all"
Expected:
200- all stream data is removed