Preauth state to accepted state

We are creating IoTEdge devices form a 3rd party dashboard, and using preauth API we are able to get the device in preauth state(https://hosted.mender.io).
Now we want to accept the device in hosted mender. How can this be done, any help would be appreciated.

Hi @sahithi,

The preauthentication flow is described here: Preauthorizing devices | Mender documentation

By using the API you create devices in the pre authenticated state, and once they connect with the prepared identity and key they are moved to accepted.

Greets,
Josef

HI @TheYoctoJester ,

Thanks for the response, we are not able to accept the device now. but we cant see device configuration, Inventory details. requesting your input on this.

Hi @sahithi,

In a nutshell: just wait, it’s the polling cycle in effect, plus the refresh of the web dashboard. If you have a long inventory update polling cycle configured but want to do a first inventory update early, then you can use the mender-update send-inventory command. See also: Polling intervals | Mender documentation

Greets,
Josef