---
title: July 13, 2021
description: A new parameter, hoursUntilExpiration, has been added to the getactivationcode method to allow you to specify the number of hours the activation code should remain valid. This optional parameter can take any integer value between 1 and 336 (two weeks). If the hoursUntilExpiration parameter is not used, the activation code is valid for 48 hours.
component: pingid
page_id: pingid:release_notes:pid_release_note_july_13_2021
canonical_url: http://docs.pingidentity.com/pingid/release_notes/pid_release_note_july_13_2021.html
revdate: January 28, 2024
section_ids:
  enhancements: Enhancements
---

# July 13, 2021

## Enhancements

* PingID API - new parameter added for configuring expiration time of activation code

  A new parameter, `hoursUntilExpiration`, has been added to the `getactivationcode` method to allow you to specify the number of hours the activation code should remain valid. This optional parameter can take any integer value between 1 and 336 (two weeks). If the `hoursUntilExpiration` parameter is not used, the activation code is valid for 48 hours.

For details, see the documentation for [getactivationcode](https://apidocs.pingidentity.com/pingid-api/guide/pingid-api/pid_c_PingIDapiUserManagement/#GetActivationCode).
