POST /api/environments/env1/smart_proxies/182953976/import_puppetclasses { "smart_proxy": {} } 200 { "message": "Successfully updated environment and puppetclasses from the on-disk puppet installation", "results": { "name": "env1", "actions": [ "new" ], "new_puppetclasses": [ "a" ] } }
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organizations Validations:
|
id required |
Validations:
|
smart_proxy_id optional |
Validations:
|
environment_id optional |
Validations:
|
dryrun optional |
Validations:
|
except optional |
Optional comma-delimited string containing either ‘new’, ‘updated’, or ‘obsolete’ that is used to limit the imported Puppet classes Validations:
|