Unable to change issue type via REST API

Hello

My company added a new issue type (BFSI Change, id 10536) for the board i am currently working on, but i can’t change it with the REST API, however i can do it via GUI; here’s an example of allowed values for my issues (see following curl)

curl -s -XGET -u<user>:<token> https://<endpoint>/rest/api/2/issue/ISSUE-ID/editmeta 

{
  "fields": {
    "summary": {
      "required": true,
      "schema": {
        "type": "string",
        "system": "summary"
      },
      "name": "Summary",
      "key": "summary",
      "operations": [
        "set"
      ]
    },
    "issuetype": {
      "required": true,
      "schema": {
        "type": "issuetype",
        "system": "issuetype"
      },
      "name": "Issue Type",
      "key": "issuetype",
      "operations": [],
      "allowedValues": [
        {
          "self": "https://kaleyra.atlassian.net/rest/api/2/issuetype/10001",
          "id": "10001",
          "description": "A task that needs to be done.",
          "iconUrl": "https://kaleyra.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium",
          "name": "Task",
          "subtask": false,
          "avatarId": 10318,
          "hierarchyLevel": 0
        },
        {
          "self": "https://kaleyra.atlassian.net/rest/api/2/issuetype/10000",
          "id": "10000",
          "description": "A user story. Created by JIRA Software - do not edit or delete.",
          "iconUrl": "https://kaleyra.atlassian.net/images/icons/issuetypes/story.svg",
          "name": "Story",
          "subtask": false,
          "hierarchyLevel": 0
        },
        {
          "self": "https://kaleyra.atlassian.net/rest/api/2/issuetype/10003",
          "id": "10003",
          "description": "A problem which impairs or prevents the functions of the product.",
          "iconUrl": "https://kaleyra.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium",
          "name": "Bug",
          "subtask": false,
          "avatarId": 10303,
          "hierarchyLevel": 0
        },
        {
          "self": "https://kaleyra.atlassian.net/rest/api/2/issuetype/10004",
          "id": "10004",
          "description": "A big user story that needs to be broken down. Created by JIRA Software - do not edit or delete.",
          "iconUrl": "https://kaleyra.atlassian.net/images/icons/issuetypes/epic.svg",
          "name": "Epic",
          "subtask": false,
          "hierarchyLevel": 1
        }
      ]
    } 
    (omitted data)
  }
}

when i run the following curl:

curl -XPUT -i -u<user>:<token> -H "Content-type: application/json" -d '{
  "fields": {
    "issuetype": {
      "iconUrl": "https://<endpoint>/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium",
      "subtask": false,
      "description": "",
      "self": "https://<endpoint>/rest/api/2/issuetype/10536",
      "hierarchyLevel": 0,
      "avatarId": 10322,
      "id": "10536",
      "name": "BFSI - Change"
    }
  }
}' https://<endpoint>/rest/api/2/issue/ISSUE-ID

i get this response error:

{"issuetype":"The issue type selected is invalid."}

Can you help me to figure out how to add the new issue type id to the allowed values?
thanks