Skip to content

Commit

Permalink
Update Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fredsted committed Oct 22, 2024
1 parent a9623f2 commit fc65a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ To set it up, first, [create an API Key](https://webhook.site/api-keys).

Then create a Schedule like the following screenshot.

In this example, Webhook.site will remove data older than 7 days every 24 hours. `now-12h` would be 12 hours. [More date format examples](/api/date-expressions.html).
In this example, Webhook.site will remove data older than 14 days every 24 hours. `now-12h` would be 12 hours. [More date format examples](/api/date-expressions.html).

Remember to click the URL Encode button before saving.

* URL: `https://webhook.site/token/00000000-0000-0000-000000000/request?date_to=now-7d` - replace `00000000-0000-0000-000000000` with the URL/Token ID.
* URL: `https://webhook.site/token/00000000-0000-0000-000000000/request?query=created_at:[* TO now-14d]` - replace `00000000-0000-0000-000000000` with the URL/Token ID.
* Method: `DELETE`
* Headers: `Api-Key: 00000000-0000-0000-000000000` - replace `00000000-0000-0000-000000000` with your API key.

Expand Down

0 comments on commit fc65a57

Please sign in to comment.