Node interface for the Lokalise APIv2.
View the Project on GitHub lokalise/node-lokalise-api
const team_users = await lokaliseApi.teamUsers().list({
team_id: team_id,
page: 3,
limit: 1,
});
team_users.items[0].user_id;
const team_user = await lokaliseApi.teamUsers().get(user_id, {team_id: team_id});
team_user.email;
const team_user = await lokaliseApi.teamUsers().update(
user_id,
{role: 'admin'},
{team_id: team_id}
);
team_user.user_id;
const response = await lokaliseApi.teamUsers().delete(user_id, {team_id: team_id});
response.team_user_deleted;