---
ai:
  exclude: true
search:
  tags:
    - project
    - PUT
seo:
  description: >-
    Updates a project. Only non null values… Reference for the PUT
    /api/2/project/{projectIdOrKey} endpoint in the Jira Software Data Center
    REST API Reference.
sidebar:
  label: Update a project
  badge: PUT
title: Update a project
type: openapi-operation
---
Updates a project. Only non null values sent in JSON will be updated in the project. Values available for the assigneeType field are: "PROJECT_LEAD" and "UNASSIGNED".

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

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

Project update data

- `assigneeType` (string)
- `avatarId` (integer<int64>)
- `categoryId` (integer<int64>)
- `description` (string)
- `issueSecurityScheme` (integer<int64>)
- `key` (string)
- `lead` (string)
- `name` (string)
- `notificationScheme` (integer<int64>)
- `permissionScheme` (integer<int64>)
- `projectTemplateKey` (string)
- `projectTypeKey` (string)
- `url` (string)

Request body example:

```json
{
  "assigneeType": "PROJECT_LEAD",
  "avatarId": 10200,
  "categoryId": 10120,
  "description": "Example Project description",
  "issueSecurityScheme": 10001,
  "key": "EX",
  "lead": "Charlie",
  "name": "Example",
  "notificationScheme": 10021,
  "permissionScheme": 10011,
  "projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-project-management",
  "projectTypeKey": "business",
  "url": "http://atlassian.com"
}
```

**Responses**

- `200` — Updated project data
- `400` — Returned if the request is not valid and the project could not be updated
- `401` — Returned if the user is not authenticated
- `403` — Returned if the user does not have rights to update projects
- `404` — Returned if the project does not exist

Response example, 200:

```json
{
  "archived": false,
  "avatarUrls": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
  "description": "Example",
  "id": "10000",
  "key": "EX",
  "name": "Example",
  "self": "http://www.example.com/jira/rest/api/2/project/EX"
}
```
