# How can I delete subscriptions canceled\_date or set it to any date? python api

**URL:** <https://developer.squareup.com/forums/t/how-can-i-delete-subscriptions-canceled-date-or-set-it-to-any-date-python-api/1417>\
**Category:** Questions\
**Tags:** subscriptions-api\
**Created:** [December 14, 2020, 5:49am UTC](https://developer.squareup.com/forums/t/how-can-i-delete-subscriptions-canceled-date-or-set-it-to-any-date-python-api/1417 "2020-12-14T05:49:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![koutaku](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@koutaku](https://developer.squareup.com/forums/u/koutaku)\
**Post date:** [December 14, 2020, 5:49am UTC](https://developer.squareup.com/forums/t/how-can-i-delete-subscriptions-canceled-date-or-set-it-to-any-date-python-api/1417/1 "2020-12-14T05:49:12Z")

</div>

How can I delete subscriptions canceled\_date or set it to any date?  
python api

---

<div class="post-metadata">

**Author:** ![sjosey](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/sjosey/32/40_2.png) [@sjosey](https://developer.squareup.com/forums/u/sjosey)\
**Post date:** [December 14, 2020, 5:17pm UTC](https://developer.squareup.com/forums/t/how-can-i-delete-subscriptions-canceled-date-or-set-it-to-any-date-python-api/1417/2 "2020-12-14T17:17:01Z")

</div>

You can make an `UpdateSubscription` request and just pass an empty value for `canceled_date` ie:

```auto
{
    "subscription": {
      "canceled_date": "",
      ...
    }
}

```

---

<div class="post-metadata">

**Author:** ![kanyi](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kanyi](https://developer.squareup.com/forums/u/kanyi)\
**Post date:** [July 8, 2023, 7:09pm UTC](https://developer.squareup.com/forums/t/how-can-i-delete-subscriptions-canceled-date-or-set-it-to-any-date-python-api/1417/3 "2023-07-08T19:09:55Z")

</div>

Hi, Will \>this still work?

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [July 10, 2023, 1:03pm UTC](https://developer.squareup.com/forums/t/how-can-i-delete-subscriptions-canceled-date-or-set-it-to-any-date-python-api/1417/4 "2023-07-10T13:03:25Z")

</div>

You’ll want to set set the field value to `null` to clear the `canceled_date` like our example in our [documentation](https://developer.squareup.com/docs/subscriptions-api/manage-subscriptions#update-subscriptions). 🙂
