Skip to content

Commit

Permalink
Fix typo in expiration endpoint documentation
Browse files Browse the repository at this point in the history
Corrected the documentation to reflect the correct delete key parameter instead of the incorrect download key parameter for the expiration endpoint. Updated the example curl command to use a valid delete key format.
  • Loading branch information
NonSwag committed Oct 2, 2024
1 parent 7a3aa31 commit 91eebd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ curl --request GET 'http://localhost:3000/expiration/db6186c8795740379d26fc61ecb

### Set file expiration

**PUT `INSTANCE_URL/expiration/:download_key/:expiration`**: set the file expiration date
**PUT `INSTANCE_URL/expiration/:delete_key/:expiration`**: set the file expiration date

```sh
curl --request PUT 'http://localhost:3000/expiration/db6186c8795740379d26fc61ecba1a24/2717940582741'
curl --request PUT 'http://localhost:3000/expiration/11561161dffe4a1298992ce063be5ff9/2717940582741'
```

| Code | Meaning |
Expand Down

0 comments on commit 91eebd5

Please sign in to comment.