Curl command to update Primary Category Definition

1curl -L -X PATCH '{{host}}/object/category/definition/v4/update/obj-cat:multiple-choice-question_question_all' \ 2-H 'Content-Type: application/json' \ 3--data-raw '{ 4 "request": { 5 6 } 7}' 8

Pass the below body into the request in the above curl command

1{ 2 "request": { 3 "objectCategoryDefinition": { 4 "objectMetadata": { 5 "config": {}, 6 "schema": { 7 "properties": { 8 "mimeType": { 9 "type": "string", 10 "enum": [ 11 "application/vnd.sunbird.question" 12 ] 13 }, 14 "interactionTypes": { 15 "type": "array", 16 "items": { 17 "type": "string", 18 "enum": [ 19 "choice" 20 ] 21 } 22 } 23 } 24 } 25 } 26 } 27 } 28}