deviceChangePin

Change device pin

Change the device pin code.

const result = await HardwareSDK.deviceChangePin(connectId, params);

Params

Optional common params

  • removeoptional boolean request remove pin.

Example

HardwareSDK.deviceChangePin(connectId, {
    remove: false
});

Result

{
    success: true,
    payload: {
        message: string
    }
}

Error

{
    success: false,
    payload: {
        error: string, // error message
        code: number // error code
    }
}

Last updated