DeviceService

POST /v1alpha1/device/{deviceId}

Changed on

Add new device for approval flow

Request

  • Base URL
    http://localhost:4000
  • Auth
    HTTP bearer and API key in header x-id-api-key

Path parameters

deviceIdstring required

The unique identifier for the device to register.

Request body

idstring

A unique identifier for the Device.

userIdstring

User ID associated with the Device.

subscriptionTokenstring

Subscription Token for the Device.

namestring

The device human-readable name.

createdAtstring date-time

The creation time of the Device.

Response

OK

Changes

    • info

      the request optional property became not read-only

    • info

      the request optional property became not read-only