What are trying to achieve? Please describe in detail.
I want to access the API via javascript using the c8y/client library.
Do you get any error messages? Please provide a full error message screenshot and log file.
I’ve used the baseURL as https://<TENANT_ID>.cumulocity.com
const client = await Client.authenticate({tenant,user,password}, baseUrl);