cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

ThingWorx Application Keys Renewal through Postman

GG_10197243
7-Bedrock

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 

ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

2 REPLIES 2
PaiChung
22-Sapphire I
(To:GG_10197243)

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.

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

Announcements


Top Tags