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

Update project avatar

Updates an avatar for a project. This is step 3/3 of changing an avatar for a project.

PUT/api/2/project/{projectIdOrKey}/avatar
Authorization
AuthorizationBasic auth · headerrequired

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

Path parameters
projectIdOrKeystringrequired

Project id or project key

Request body
requiredapplication/json

Avatar data

idstring
ownerstring
selectedboolean
Responses
204

Returned if the avatar was updated successfully

400

Returned if the avatar does not exist

401

Returned if the user is not logged in

404

Returned if the project does not exist

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/api/2/project/string/avatar' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Content-Type: application/json' \
  -d '{
  "id": "1000",
  "owner": "fred",
  "selected": true
}'
Response
Returned if the avatar was updated successfully

Was this page helpful?