<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Update API key via API</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86588/update-api-key-via-api</link><description>Hi, 
 is there a way to update the API key needed to get sensor data? 
 I got a thingy91 that I can get data from via Rest API. Only thing is that I need to login to my profile and get the new API key. Is there a link where I can do a GET request to update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Apr 2022 12:26:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86588/update-api-key-via-api" /><item><title>RE: Update API key via API</title><link>https://devzone.nordicsemi.com/thread/361835?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 12:26:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73e5bdd3-119b-44b0-a217-5759b5284518</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Sondre,&lt;/p&gt;
&lt;p&gt;NO.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;i&gt;warning&lt;/i&gt;&amp;nbsp;&lt;/strong&gt;&lt;span&gt;&lt;strong&gt;Note that previously issued API keys remain valid for up to 60 minutes.&lt;/strong&gt; means: &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After generating a new key, your old key may still be valid for 1 hour.&amp;nbsp;&lt;/span&gt;&lt;span&gt;You can simply keep monitoring your API key for more than one hour to see if it changes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update API key via API</title><link>https://devzone.nordicsemi.com/thread/361828?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 12:10:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aced8198-4a5d-4d16-9444-33bdc7a458bf</guid><dc:creator>Sondre Moseid</dc:creator><description>&lt;p&gt;The thing is that the API key is only available for 1 hour, correct? So I would need to manually login and update the API key, then copy it into my project..?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update API key via API</title><link>https://devzone.nordicsemi.com/thread/361825?ContentTypeID=1</link><pubDate>Tue, 05 Apr 2022 12:07:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7448c94-0a47-4ff7-a695-b7cb6eeaffcd</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Sondre,&lt;/p&gt;
&lt;p&gt;I am not sure if I understand your meaning.&lt;/p&gt;
[quote user=""]is there a way to update the API key needed to get sensor data?[/quote][quote user=""]Only thing is that I need to login to my profile and get the new API key.[/quote]
&lt;p&gt;Why do you need a new API key? When you generate one API key, you can use it for all your third-party platforms to access nrfcloud through REST API. In which condition, do you need to generate a new one?&lt;/p&gt;
[quote user=""]Is there a link where I can do a GET request to update it in my&amp;nbsp;Node-RED project?[/quote]
&lt;p&gt;No, a new API key shouldn&amp;#39;t be requested through REST API itself. It is a high risk any people using this API can request a new key&amp;nbsp;and block your access.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>