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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { id: number; owningObjectId: string; type: "priority" | string & object | "project" | "issuetype"; } | - |
parameters.id | number | The ID of the avatar. |
parameters.owningObjectId? | string | The ID of the item the avatar is associated with. |
parameters.type? | "priority" | string & object | "project" | "issuetype" | The avatar type. |
options? | RequestOptions | - |
Returns
Promise<void>