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

Delete avatar

Deletes avatar

DELETE/api/2/user/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

Query parameters
usernamestring

username

Responses
204

Returned if the avatar is successfully deleted.

401

Returned if the user is not authenticated.

403

Returned if the currently authenticated user does not have permission to delete the avatar.

404

Returned if the avatar does not exist.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/user/avatar/0' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Returned if the avatar is successfully deleted.

Was this page helpful?