---
ai:
  exclude: true
search:
  tags:
    - project
    - PUT
seo:
  description: >-
    Updates an avatar for a project.… Reference for the PUT
    /api/2/project/{projectIdOrKey}/avatar endpoint in the Jira Software Data
    Center REST API Reference.
sidebar:
  label: Update project avatar
  badge: PUT
title: Update project avatar
type: openapi-operation
---
Updates an avatar for a project. This is step 3/3 of changing an avatar for a project.

`PUT /api/2/project/{projectIdOrKey}/avatar`

**Request body** (`application/json`, required)

Avatar data

- `id` (string)
- `owner` (string)
- `selected` (boolean)

Request body example:

```json
{
  "id": "1000",
  "owner": "fred",
  "selected": true
}
```

**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
