Skip to content

Commit

Permalink
Merge pull request #228 from alphagov/update-send-a-file-by-email
Browse files Browse the repository at this point in the history
Update guidance for length of time files are available
  • Loading branch information
karlchillmaid authored Sep 14, 2023
2 parents 1f2f50d + bac9774 commit 648b1bb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,13 @@ with open('file.pdf', 'rb') as f:

Set the number of weeks you want the file to be available using the `retention_period` key.

You can choose any value between 1 week and 78 weeks.

To use this feature will need version 6.4.0 of the Python client library, or a more recent version.

You can choose any value between 1 week and 78 weeks. When deciding this, you should consider:

* the need to protect the recipient’s personal information
* whether the recipient will need to download the file again later

If you do not choose a value, the file will be available for the default period of 26 weeks (6 months).

Files sent before 12 April 2023 had a longer default period of 78 weeks (18 months).
Expand Down

0 comments on commit 648b1bb

Please sign in to comment.