Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Delete avatar by ID

Deletes avatar

DELETE/api/2/universal_avatar/type/{type}/owner/{owningObjectId}/avatar/{id}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
idinteger<int64>required

database id for avatar

typestringrequired
owningObjectIdstringrequired

Entity id where to change avatar

Responses
200

Returns the status of the deletion.

400

Returned if the provided data isn't valid.

403

Returned if the user doesn't have admin permissions.

404

Returned if the feature is turned off via a feature flag.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/universal_avatar/type/string/owner/string/avatar/0' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Returns the status of the deletion.

Was this page helpful?