mba-cli employee

3 commands

Read employees (key-scoped)

Synopsis#

bash
mba-cli employee <command> [flags]

Available commands#

mba-cli employee getGet one employee by id
Retrieve an employee by id Returns the employee with the given `id`, including role assignments and team associations. Related: `List employees`. Get one employee by id
--idstringEmployee record id
mba-cli employee get-by-uidGet one employee by auth uid
Retrieve an employee by Firebase UID Returns the employee with the given Firebase `uid` (useful when you only have the signed-in user's id). Related: `Retrieve an employee by id`. Get one employee by auth uid
--uidstringEmployee auth uid
mba-cli employee lsList employees
List employees Returns the employees for the tenant identified by the API key. Paginated: use `page`/`limit` or `paginate=false`; filter by team. To count without fetching rows, request `limit=1` and read `metadata.total`. Related: `Retrieve an employee by id`, `Retrieve an employee by Firebase UID`. List employees
--allbool = falseReturn all rows (paginate=false)
--limitint = 20Query parameter limit (from the API spec)
--pageint = 1Query parameter page (from the API spec)
--paginatebool = trueQuery parameter paginate (from the API spec)
--team-idstringQuery parameter teamId (from the API spec)
--team-idsstringQuery parameter teamIds (from the API spec)
Was this page helpful?