access-token: ********************{
"name": "string",
"cpu_name": "string",
"cpu_num": 0,
"ram_size": 0,
"disk_metadata": [
{
"type": "string",
"size": 0
}
],
"pci_metadata": [
{
"officalmodel": "string",
"type": "string"
}
],
"ip_num": 0,
"bandwidth": 0,
"up_port": 0,
"down_port": 0,
"is_auto_collect": true
}curl --location --request PUT '/admin/packages/' \
--header 'access-token: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"cpu_name": "string",
"cpu_num": 0,
"ram_size": 0,
"disk_metadata": [
{
"type": "string",
"size": 0
}
],
"pci_metadata": [
{
"officalmodel": "string",
"type": "string"
}
],
"ip_num": 0,
"bandwidth": 0,
"up_port": 0,
"down_port": 0,
"is_auto_collect": true
}'{
"success": true,
"package_id": 0
}