POST /api/puppetclasses { "puppetclass": { "name": "test_puppetclass" } } 201 { "created_at": "2021-05-19 08:00:42 UTC", "updated_at": "2021-05-19 08:00:42 UTC", "id": 1018350798, "name": "test_puppetclass", "module_name": "test_puppetclass", "environments": [], "hostgroups": [], "smart_class_parameters": [] }
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:
|
puppetclass required |
Validations:
|
puppetclass[name] required |
Validations:
|