POST /api/ptables/1007981734-ptable530/clone
{
"ptable": {
"name": "MyClone"
}
}
201
{
"name": "MyClone",
"id": 1007981734,
"template": "zerombr\\nclearpart --all --initlabel\\npart /boot --fstype ext3 --size=<%= 10 * 10 %> --asprimary\\npart / --f stype ext3 --size=1024 --grow\\npart swap --recommended",
"snippet": false,
"template_kind_id": null,
"created_at": "2019-02-20T13:32:44.397Z",
"updated_at": "2019-02-20T13:32:44.409Z",
"locked": false,
"default": false,
"vendor": null,
"os_family": "Redhat"
}
| Param name | Description |
|---|---|
|
location_id optional |
Scope by locations Validations:
|
|
organization_id optional |
Scope by organizations Validations:
|
|
id required |
Validations:
|
|
ptable required |
Validations:
|
|
ptable[name] required |
template name Validations:
|