curl --location --request PUT '/open_api//work_item/type/' \
--header 'X-PLUGIN-TOKEN: {{plugin_token}}' \
--header 'X-USER-KEY: {{user_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "管理需求的全生命周期", //描述
"is_disabled": false, //是否禁用该工作项,false-未禁用 true-禁用
"is_pinned": true, //是否设置为导航入口,false-未设置 true-设置为导航入口
"enable_schedule": true, // 是否支持工作项整体排期,true-支持,true时下面所有字段才生效,false-不支持,仅状态流工作项支持该设置
"schedule_field_key": "field_66d5xx", // 排期字段的key,日期区间类型字段
"estimate_point_field_key": "field_66d5xx", // 估分字段key,数字类型字段
"actual_work_time_field_key": "field_66d5xx", // 实际工时字段key,数字类型字段
"actual_work_time_switch": true, // 是否使用工时登记插件工时登记
"belong_roles_keys": [
"PM"
] //所属角色key
},'