Inventory
Create an inventory sync job
Create an inventory sync job. If there is not an inventory sync job currently running, a new job will be created and start running immediately. If there is an inventory sync job currently running, a new job will not be created.
To use this endpoint, you must have one of the following roles: comply-admin comply-operator
post/v1/inventory-sync-job
Request
- Base URLhttps://help.puppet.com/api/public
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
CreateInventoryJobResponse represents the response to a create inventory sync job request.
Example response
{
"created_at": "2023-09-25T13:57:16.743Z",
"finished_at": "2023-09-25T13:57:16.743Z",
"id": 123,
"nodes_synced": 100,
"reason": "null",
"status": "successful",
"total_nodes": 100
}Changes
No recorded changes to this operation across all 1 revision of this API.