# Explicit data expiration questions

**URL:** <https://forum.storj.io/t/explicit-data-expiration-questions/13854>\
**Category:** FAQ\
**Created:** [May 14, 2021, 12:14pm UTC](https://forum.storj.io/t/explicit-data-expiration-questions/13854 "2021-05-14T12:14:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toyoo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/toyoo/32/1126_2.png) [@Toyoo](https://forum.storj.io/u/Toyoo)\
**Post date:** [May 14, 2021, 12:14pm UTC](https://forum.storj.io/t/explicit-data-expiration-questions/13854/1 "2021-05-14T12:14:23Z")

</div>

I’m looking at [https://docs.storj.io/api-reference/uplink-cli/cp-command](https://docs.storj.io/api-reference/uplink-cli/cp-command) and I see the following:

> `--expires string`
> 
> optional expiration date of an object. Please use format ( `yyyy-mm-ddThh:mm:ssZhh:mm` )

Is there an equivalent switch for the `put` command?

Can the `ls` command also print the expiration date?

---

<div class="post-metadata">

**Author:** ![thepaul](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/thepaul/32/65_2.png) [@thepaul](https://forum.storj.io/u/thepaul)\
**Post date:** [May 14, 2021, 6:20pm UTC](https://forum.storj.io/t/explicit-data-expiration-questions/13854/2 "2021-05-14T18:20:35Z")

</div>

@Toyoo - Excellent questions. I believe the answers are “no” and “no”, but there isn’t any good reason for either of those. Possibly just no one has needed them yet.

I’ll take a look and see what can be done.

---

<div class="post-metadata">

**Author:** ![thepaul](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/thepaul/32/65_2.png) [@thepaul](https://forum.storj.io/u/thepaul)\
**Post date:** [May 14, 2021, 8:15pm UTC](https://forum.storj.io/t/explicit-data-expiration-questions/13854/3 "2021-05-14T20:15:09Z")

</div>

Result: I’ve added those features to `uplink put` and `uplink ls` in [https://review.dev.storj.io/c/storj/storj/+/4798](https://review.dev.storj.io/c/storj/storj/+/4798) and [https://review.dev.storj.io/c/storj/storj/+/4799](https://review.dev.storj.io/c/storj/storj/+/4799) respectively. If they survive review, they’ll be added to the release.

You can use the patches from those changesets if you want to test it out locally.

---

<div class="post-metadata">

**Author:** ![Toyoo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/toyoo/32/1126_2.png) [@Toyoo](https://forum.storj.io/u/Toyoo)\
**Post date:** [May 17, 2021, 7:23pm UTC](https://forum.storj.io/t/explicit-data-expiration-questions/13854/4 "2021-05-17T19:23:29Z")

</div>

Gosh, I wish my workplace used Gerrit, I’m missing it so much. Thank you!
