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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { newProjectTypeKey: string; projectIdOrKey: string; } | - |
parameters.newProjectTypeKey | string | The key of the new project type |
parameters.projectIdOrKey? | string | Project 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; }>