PUT /api/ptables/1007981741 { "ptable": { "os_family": "Coreos" } } 200 { "layout": "zerombr\nclearpart --all --initlabel\npart /boot --fstype ext3 --size=<%= 10 * 10 %> --asprimary\npart / --fstype ext3 --size=1024 --grow\npart swap --recommended", "locked": false, "description": null, "os_family": "Coreos", "created_at": "2022-03-29 08:36:30 UTC", "updated_at": "2022-03-29 08:36:30 UTC", "name": "ptable314", "id": 1007981741, "operatingsystems": [], "locations": [ { "id": 255093256, "name": "Location 1", "title": "Location 1", "description": null } ], "organizations": [ { "id": 447626438, "name": "Organization 1", "title": "Organization 1", "description": null } ] }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
ptable required |
Validations:
|
ptable[name] optional |
Validations:
|
ptable[description] optional , nil allowed |
Validations:
|
ptable[layout] optional |
Validations:
|
ptable[snippet] optional , nil allowed |
Validations:
|
ptable[audit_comment] optional , nil allowed |
Validations:
|
ptable[locked] optional , nil allowed |
Whether or not the template is locked for editing Validations:
|
ptable[os_family] optional , nil allowed |
Validations:
|
ptable[operatingsystem_ids] optional , nil allowed |
Array of operating system IDs to associate with the partition table Validations:
|
ptable[host_ids] optional , nil allowed |
Array of host IDs to associate with the partition table Validations:
|
ptable[hostgroup_ids] optional , nil allowed |
Array of host group IDs to associate with the partition table Validations:
|
ptable[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
ptable[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|