Schedule Agent For Upgrade V2
All the listed privileges are required -
Privileges | Description |
---|---|
MACHINE_MAINTENANCE | Caller should have permission to this privilege, to perform this operation. |
{
"agent_installer_package_id": "2b6eaeb8-2e91-11ed-a261-0242ac120002",
"batch_size": 20,
"custom_install_parameters": "ADDLOCAL=Core,USB",
"end_time": 1652079610000,
"failure_threshold": 10,
"machine_or_rds_server_ids": [
"0103796c-102b-4ed3-953f-3dfe3d23e0fe",
"7cdd624f-37d1-46c1-ab96-695a5d13956f"
],
"skip_for_logged_in_users": true,
"start_time": 1652079610000
}
ID of the agent installer package.
Indicates the size of the batch to be considered for agent upgrade, in percentage.
Indicates any parameters to be used by the agent for silent install.
Agent upgrade end time.
Indicates the threshold for tolerating failures, beyond which upgrades will be skipped, in percentage.
Machines or RDS servers on which the upgrade is to be scheduled.
Indicates whether to skip agent upgrade for logged in users.
Agent upgrade start time.
OK
{
"details": [
{
"error_messages": [
"Entity does not exist.",
"Property is mandatory."
],
"errors": [
{
"error_key": "inventory.machine.not.found",
"error_message": "username cannot be empty"
}
],
"id": "6f85b3a5-e7d0-4ad6-a1e3-37168dd1ed51",
"key": "user1",
"status_code": 200,
"timestamp": 1561939200000
}
],
"task_id": "7d01dc94-2e93-11ed-a261-0242ac120002"
}
List of BulkItemResponseInfo corresponding to each machine id in the action operation.
Unique ID representing the task.
Bad Request
User is not authenticated
Access to the resource is forbidden