Skip to content

Function: updateProjectType() ​

ts
function updateProjectType(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  archived?: boolean;
  avatarUrls?: Record<string, string>;
  description?: string;
  id?: string;
  key?: string;
  name?: string;
  self?: string;
}>;

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

Updates the type of a project

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ newProjectTypeKey: string; projectIdOrKey: string; }-
parameters.newProjectTypeKeystringThe key of the new project type
parameters.projectIdOrKey?stringProject id or project key
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; archived?: boolean; avatarUrls?: Record<string, string>; description?: string; id?: string; key?: string; name?: string; self?: string; }>