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

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

**Responses**

- `200` — Updated project data
- `400` — Returned if the request is not valid and the project type 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"
}
```
