API Reference
  • IoT IdP API Reference
  • Reference
    • HTTP API Reference
      • Token API
      • IdP API
      • Device API
    • CoAP API Reference
      • Token API
      • IdP API
      • Device API
Powered by GitBook
On this page
  • Update Device Public Key Endpoint
  • Renew public key
  1. Reference
  2. CoAP API Reference

Device API

The device API is used for updating device information registered with our IoT identity provider.

PreviousIdP API

Last updated 2 years ago

Update Device Public Key Endpoint

Use this endpoint to update the public key of a registered device. To ensure that only a genuine device can update its public key, the device has to authenticate by providing a private key JWT. Furthermore the device has to provide a proof of possession (PoP) object to demonstrate possession of the private key corresponding to the public key it tries to update.

For additional details about the JWT and the PoP object visit our .

Renew public key

POST coaps://iot-idp.demo.coap-apps.iothentix.io/device/update/pubkey

Request Body

Name
Type
Description

pop*

String

Proof of Possession object

client_secret*

String

Signed JWT containing the new public key.

{
    "Success": "Public key updated"
}

developer guide