Update API key via API

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 it in my Node-RED project?

best regards,

Sondre

Parents
  • Hi Sondre,

    I am not sure if I understand your meaning.

    is there a way to update the API key needed to get sensor data?
    Only thing is that I need to login to my profile and get the new API key.

    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?

    Is there a link where I can do a GET request to update it in my Node-RED project?

    No, a new API key shouldn't be requested through REST API itself. It is a high risk any people using this API can request a new key and block your access.

    Best regards,

    Charlie

Reply
  • Hi Sondre,

    I am not sure if I understand your meaning.

    is there a way to update the API key needed to get sensor data?
    Only thing is that I need to login to my profile and get the new API key.

    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?

    Is there a link where I can do a GET request to update it in my Node-RED project?

    No, a new API key shouldn't be requested through REST API itself. It is a high risk any people using this API can request a new key and block your access.

    Best regards,

    Charlie

Children
Related