# Can’t set new post ID through the data API?

**URL:** <https://discourse.joplinapp.org/t/can-t-set-new-post-id-through-the-data-api/12593>\
**Category:** Support\
**Created:** [20 November 2020 00:27 UTC](https://discourse.joplinapp.org/t/can-t-set-new-post-id-through-the-data-api/12593 "2020-11-20T00:27:37Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [20 November 2020 23:38 UTC](https://discourse.joplinapp.org/t/can-t-set-new-post-id-through-the-data-api/12593/4 "2020-11-20T23:38:37Z")

</div>

> [@Reina](#):
>
> The authorisation token for Joplin, is it an issue if it appears in my GitHub? I accidentally committed once with it in and decided to just do a refresh and delete my commit history. Not sure if that was necessary considering it's doing localhost?

Yes and no. Usually it shouldn't matter, since the clipper is rstrsiced to localhost. However, web apps like [this one](https://discourse.joplinapp.org/t/i-wrote-a-tag-cloud-website-that-can-be-used-to-view-the-usage-of-all-tags/11865) also run locally.

Unfortunately there's no button to renew the token. However, you can do it manually:

- quit Joplin
- open `database.sqlite` in your profile dir
- delete record `key=api.token` from table `settings` (`delete from settings where key='api.token'`)
- start Joplin

---

_[View the full topic](https://discourse.joplinapp.org/t/can-t-set-new-post-id-through-the-data-api/12593)._
