---
ai:
  exclude: true
search:
  tags:
    - issuetypescheme
    - PUT
seo:
  description: >-
    Updates the specified issue type scheme… Reference for the PUT
    /api/2/issuetypescheme/{schemeId} endpoint in the Jira Software Data Center
    REST API Reference.
sidebar:
  label: Update specified issue type scheme from JSON representation
  badge: PUT
title: Update specified issue type scheme from JSON representation
type: openapi-operation
---
Updates the specified issue type scheme from a JSON representation

`PUT /api/2/issuetypescheme/{schemeId}`

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

Specifies the new set of attributes that the issue type scheme will take on.

- `defaultIssueTypeId` (string)
- `description` (string)
- `issueTypeIDs` (string[])
- `issueTypeIds` (string[])
- `name` (string)

Request body example:

```json
{
  "defaultIssueTypeId": "3",
  "description": "some new description of the scheme",
  "issueTypeIDs": [
    "string"
  ],
  "issueTypeIds": [
    "1",
    "4",
    "3"
  ],
  "name": "new name"
}
```

**Responses**

- `200` — Returns a JSON representation of the updated issue type scheme.
- `400` — Returned if the request is invalid. This happens when the name or issue types are invalid. It also occurs when the default issue type isn't found in the associated issue types collection.
- `401` — Returned if the calling user is not authenticated.
- `403` — Returned if the calling user does not have permission to administer Jira.
- `404` — Returned if the issue type scheme to update does not exist.

Response example, 200:

```json
{
  "defaultIssueType": {
    "avatarId": 10002,
    "description": "A problem which impairs or prevents the functions of the product.",
    "iconUrl": "http://www.example.com/jira/images/icons/issuetypes/bug.png",
    "id": "1",
    "name": "Bug",
    "self": "http://www.example.com/jira/rest/api/2/issuetype/1",
    "subtask": false
  },
  "description": "A brief explanation of this issue type scheme.",
  "expand": "issueTypes",
  "id": "10100",
  "issueTypes": [
    {
      "avatarId": 10002,
      "description": "A problem which impairs or prevents the functions of the product.",
      "iconUrl": "http://www.example.com/jira/images/icons/issuetypes/bug.png",
      "id": "1",
      "name": "Bug",
      "self": "http://www.example.com/jira/rest/api/2/issuetype/1",
      "subtask": false
    }
  ],
  "name": "Some grouping of issue types for the greater good.",
  "self": "http://localhost:8090/jira/rest/api/2/issuetypescheme/10100"
}
```
