provider Avatars DELETE /rest/api/3/universal_avatar/type/{type}/owner/{owningObjectId}/avatar/{id}
@utdk/jira /rest/api/3/universal_avatar/type/{type}/owner/{owningObjectId}/avatar/{id}
Delete avatar
Deletes an avatar from a project, issue type or priority. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
type path required
The avatar type.
enum: project, issuetype, priority
owningObjectId path required
The ID of the item the avatar is associated with.
string
id path required
The ID of the avatar.
integer

Try it

Authentication
Configure credentials for The Jira Cloud platform REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

deleteavatar
DELETE/rest/api/3/universal_avatar/type/{type}/owner/{owningObjectId}/avatar/{id}
Deletes an avatar from a project, issue type or priority. **[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).

Parameters

required

The avatar type.

required

The ID of the item the avatar is associated with.

required

The ID of the avatar.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import jira from '@utdk/jira';

await jira.deleteavatar()