access-token: ********************{
"name": "string",
"description": "string",
"script": {
"vdevs": [
{
"allow_types": [
"NVMe"
],
"minimum_size": 1,
"index": 0
}
],
"parts": [
{
"size": 0,
"type": "string"
}
]
},
"format": 0,
"images": [
0
],
"disabled": true
}curl --location --request PUT '/admin/image_partitions/' \
--header 'access-token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"description": "string",
"script": {
"vdevs": [
{
"allow_types": [
"NVMe"
],
"minimum_size": 1,
"index": 0
}
],
"parts": [
{
"size": 0,
"type": "string"
}
]
},
"format": 0,
"images": [
0
],
"disabled": true
}'{
"success": true
}