POST /api/puppetclasses { "puppetclass": { "name": "test_puppetclass" } } 201 { "created_at": "2019-02-20 13:35:03 UTC", "updated_at": "2019-02-20 13:35:03 UTC", "id": 1018350797, "name": "test_puppetclass", "module_name": "test_puppetclass", "environments": [], "hostgroups": [], "smart_variables": [], "smart_class_parameters": [] }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
puppetclass required |
Validations:
|
puppetclass[name] required |
Validations:
|