update the expiry date of a token #7
-
I've started work on a project and wondering if you could point me to the doc to do the following:
Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Jayson,
Let me know if you have any follow up questions or want to chat about the project more! |
Beta Was this translation helpful? Give feedback.
Hi Jayson,
There are two ways to create a token. The first is through the dashboard, and the second is through the REST API. If you're looking for a guide for creating a token with an expiry date and a list of allowed countries I recommend checking out the guide here which walks you through creating the token and adding those parameters.
For reading the token details you can use our PublishToken-readToken REST API to get all the token details or you can use our PublishToken-listToken REST API to list all your tokens plus their details.
Currently you can't "update" a token's expiry time but you can disable the token and issue a fresh token with a new expiry date. It is also worth not…