Skip to content

Function: deleteAvatar() ​

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

Defined in: src/cloud/api/avatars.ts:128

Deletes an avatar from a project, issue type or priority.

Permissions required:Administer Jira global permission.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: number; owningObjectId: string; type: "priority" | string & object | "project" | "issuetype"; }-
parameters.idnumberThe ID of the avatar.
parameters.owningObjectId?stringThe ID of the item the avatar is associated with.
parameters.type?"priority" | string & object | "project" | "issuetype"The avatar type.
options?RequestOptions-

Returns ​

Promise<void>