Missing security token parameter in the Javascript SDK

In the C8y API the method “Update a specific new device request status” (Cumulocity IoT - OpenAPI Specification) takes a security token as parameter. In the javascript SDK, the same function does not include security token (DeviceRegistrationService | Cumulocity Web SDK - v1020.13.2). Is there a hidden way to include this parameter? Will future version of the SDK include it?

Hi @MagnusAkermanAspire,

you can provide the security token already now to the accept and bootstrap methods, it was just missed to document it:

accept({ id: '1234', securityToken: '<secretToken>' })

Regards,
Tristan

2 Likes