Skip to main content
1-Visitor
June 14, 2022
Solved

ThingWorx Application Keys Renewal through Postman

  • June 14, 2022
  • 2 replies
  • 1113 views

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 

Best answer by PEHOWE

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

22-Sapphire I
June 16, 2022

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.

PEHOWE17-PeridotAnswer
17-Peridot
June 16, 2022

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