PUT /api/ptables/1007981738 { "ptable": { "layout": "new ptable layout" } } 200 { "layout": "new ptable layout", "locked": false, "description": null, "os_family": "Redhat", "created_at": "2019-11-07 09:07:17 UTC", "updated_at": "2019-11-07 09:07:17 UTC", "name": "ptable814", "id": 1007981738, "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 , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
ptable[layout] Optional |
Validations:
|
ptable[snippet] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
ptable[audit_comment] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
ptable[locked] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Determina si una plantilla està bloquejada o no per a l’edició Validations:
|
ptable[os_family] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
ptable[operatingsystem_ids] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Array of operating system IDs to associate with the partition table Validations:
|
ptable[host_ids] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Array of host IDs to associate with the partition table Validations:
|
ptable[hostgroup_ids] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Array of host group IDs to associate with the partition table Validations:
|
ptable[location_ids] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
SUBSTITUEIX les ubicacions amb els ID donats Validations:
|
ptable[organization_ids] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
SUBSTITUEIX les organitzacions amb els ID donats. Validations:
|