Roles

List all roles

const roles = await ft.roles.list();
// use roles.json() to access data
  • Returns a Response object that resolves to an Array of Freshteam.models.Role objects

Get role by ID

const role = await ft.roles.get(id);
// use role.json() to access data
  • Returns a Response object that resolves to a Freshteam.models.Role object
Last Updated: 11/14/2022, 11:18:49 AM