Roles
List all roles
const roles = await ft.roles.list();
// use roles.json() to access data
- Returns a
Response
object that resolves to anArray
ofFreshteam.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 aFreshteam.models.Role
object