Skip to content

Function: getProjectRoles() ​

ts
function getProjectRoles(
   client, 
   parameters, 
   options?
): Promise<Record<string, string>>;

Defined in: src/server/api/projects.ts:474

Returns all roles in the given project Id or key, with links to full details on each role.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ projectIdOrKey: string; }-
parameters.projectIdOrKeystringThe project id or project key
options?RequestOptions-

Returns ​

Promise<Record<string, string>>