Open Context Protocol is live! 🚀 Read the launch post

updateProjectAvatar

Set project avatar

PUT /rest/api/3/project/{projectIdOrKey}/avatar HTTP/1.1

Parameters

{
  "projectIdOrKey": {
    "description": "The ID or (case-sensitive) key of the project.",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "fileName": {
    "description": "The file name of the avatar icon. Returned for system avatars.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "id": {
    "description": "The ID of the avatar.",
    "required": true,
    "location": "body",
    "type": "string"
  },
  "isDeletable": {
    "description": "Whether the avatar can be deleted.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "isSelected": {
    "description": "Whether the avatar is used in Jira. For example, shown as a project's avatar.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "isSystemAvatar": {
    "description": "Whether the avatar is a system avatar.",
    "required": false,
    "location": "body",
    "type": "boolean"
  },
  "owner": {
    "description": "The owner of the avatar. For a system avatar the owner is null (and nothing is returned). For non-system avatars this is the appropriate identifier, such as the ID for a project or the account ID for a user.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "urls": {
    "description": "The list of avatar icon URLs.",
    "required": false,
    "location": "body",
    "type": "object"
  }
}

Response Schema

{}