Skip to content

Commit 9cd753e

Browse files
committed
Play: document the delete endpoint.
1 parent 811bba7 commit 9cd753e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/play.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,13 @@ You can change it to the following URL in order to only display events that were
166166
https://api.play.svix.com/api/v1/history/e_94XdF-OwN3EaTKty4izJDWRAH3V/?iterator=2Nvo8F66yxe0cT7lrVmsbUg97He
167167
```
168168

169+
### Deleting History
170+
171+
You can delete all recorded events for a given token by making a DELETE request to the `/history/` route:
172+
173+
```
174+
curl -X DELETE https://api.play.svix.com/api/v1/history/e_94XdF-OwN3EaTKty4izJDWRAH3V/
175+
```
176+
177+
This will permanently remove all events associated with that token.
178+

0 commit comments

Comments
 (0)