Skip to content

Function: deleteProjectAvatar() ​

ts
function deleteProjectAvatar(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/cloud/api/projectAvatars.ts:48

Deletes a custom avatar from a project. Note that system avatars cannot be deleted.

Permissions required:Administer projects project permission.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: number; projectIdOrKey: string; }-
parameters.idnumberThe ID of the avatar.
parameters.projectIdOrKey?stringThe project ID or (case-sensitive) key.
options?RequestOptions-

Returns ​

Promise<void>