In addition to the answer by @remie you can achieve this with the request:
httpClient.get(`/rest/api/3/user?accountId=${userId}`, (err, response, body) => {
…
})
In addition to the answer by @remie you can achieve this with the request:
httpClient.get(`/rest/api/3/user?accountId=${userId}`, (err, response, body) => {
…
})