title: Using GitHub API to update a Release date
body: <p>I would like to update the date (timestamp) of an existing GitHub Release.</p>
  <p>Currently, I'm using the <a href="https://docs.github.com/en/rest/reference/git#update-a-reference" rel="nofollow noreferrer">Git Database &gt; References &gt; Update a reference</a> API to update the tag <code>SHA</code>. Unfortunately, that API does not accept <code>timestamp</code> or <code>date</code>, and I'm not even sure if it's relevant since it's a tag and not a Release.</p>
  <p>I also went through <a href="https://docs.github.com/en/rest/reference/repos#releases" rel="nofollow noreferrer">Repositories &gt; Releases &gt; Update a release</a> API, and still no luck.</p>
  <p>The only solution I can think of is deleting the release and recreating it, which is really something that I want to avoid. Any help with solving this challenge is appreciated.</p>
  <p><strong>Note</strong>: I saw this question <a href="https://stackoverflow.com/questions/21738647/change-date-of-git-tag-or-github-release-based-on-it">Change date of git tag (or GitHub Release based on it)</a>, but the offered solutions are implemented with <code>git</code> CLI and it's not what I'm looking for.</p>