Skip to main content
Jun 14, 2022 12:22 PM UTC
Solved

ThingWorx Application Keys Renewal through Postman

I am trying to renew the expiration date of all the applications keys of Thing Worx through Postman.
For this, I am using this URL: Thing Worx/Resources/Entity Services/Services/GetEntityListByRegEx?type=Application Key and it gave me the list of all applications keys which are present in the Thing Worx but how can I use the setExpirationDate service for the all the keys which I got.

GG_10197243_0-1655209133363.png

 

@PEHOWE @PaiChung @slangley 

PEHOWEAnswer
Jun 16, 2022 6:16 PM UTC

Hello @GG_10197243,

 

I have updated the Article - CS317077 - ThingWorx REST API call to AddMember, CreateApplicationKey and GetKeyID to include information on updating the expiration date.

The services which are available can be found in the online documentation at Application Key Services

 

Hope that answers your question.

 

Peter

2 replies

Jun 16, 2022 11:15 AM UTC

I've never done this, but from Composer it looks like Application Keys expire and can't be 'renewed'.

So I think you have to either set it far in the future, or generate new application keys upon expiration.

Someone else can correct me if I'm wrong on that.

PEHOWEAnswer
Jun 16, 2022 6:16 PM UTC

Hello @GG_10197243,

 

I have updated the Article - CS317077 - ThingWorx REST API call to AddMember, CreateApplicationKey and GetKeyID to include information on updating the expiration date.

The services which are available can be found in the online documentation at Application Key Services

 

Hope that answers your question.

 

Peter