PUT /api/puppetclasses/980190962-base
{
"puppetclass": {
"name": "test_puppetclass"
}
}
200
{
"created_at": "2020-05-20 13:31:48 UTC",
"updated_at": "2020-05-20 13:32:04 UTC",
"id": 980190962,
"name": "test_puppetclass",
"module_name": "test_puppetclass",
"environments": [
{
"name": "production",
"id": 334344675
}
],
"hostgroups": [
{
"id": 636252244,
"name": "Common",
"title": "Common",
"description": null
}
],
"smart_class_parameters": [
{
"parameter": "cluster",
"id": 328495940
}
]
}
| 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:
|
|
puppetclass required |
Validations:
|
|
puppetclass[name] optional |
Validations:
|