Lokalise APIv2 Node SDK

Node interface for the Lokalise APIv2.

View the Project on GitHub lokalise/node-lokalise-api




Team users

Team user attributes

Fetch team users

API doc

const team_users = await lokaliseApi.teamUsers().list({
  team_id: team_id,
  page: 3,
  limit: 1,
});

team_users.items[0].user_id;

Fetch a single team user

API doc

const team_user = await lokaliseApi.teamUsers().get(user_id, {team_id: team_id});

team_user.email;

Update team user

API doc

const team_user = await lokaliseApi.teamUsers().update(
  user_id,
  {role: 'admin'},
  {team_id: team_id}
);

team_user.user_id;

Delete team user

API doc

const response = await lokaliseApi.teamUsers().delete(user_id, {team_id: team_id});

response.team_user_deleted;