Skip to content

Function: getAssignedPermissionScheme() ​

ts
function getAssignedPermissionScheme(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  description?: string;
  expand?: string;
  id?: number;
  name?: string;
  permissions?: object[];
  self?: string;
}>;

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

Gets a permission scheme assigned with a project

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ expand?: string | string[]; projectKeyOrId: string; }-
parameters.expand?string | string[]Use expand to include additional information about permission schemes in the response. This parameter accepts a comma-separated list of expandable options. Expand options include: all and field.
parameters.projectKeyOrId?stringKey or id of the project
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; description?: string; expand?: string; id?: number; name?: string; permissions?: object[]; self?: string; }>