Change WSUS settings

The endpoint to assign agent policy for resources.

Leave Feedback

URL

POST https://{api-url}/api/v2/tenants/{tenantId}/devices/wsussettings/{action}

Sample URLs

https://{api-url}/api/v2/tenants/client_12/devices/wsussettings/enable
https://{api-url}/api/v2/tenants/client_12/devices/wsussettings/disable

Action implies to enable or disable the WSUS settings for an entity.

Parameters

Both fields are mandatory:

FieldData TypeDescription
entityIdStringId of the entity that WSUS settings are applied.
entityTypeStringType of entity that WSUS settings are applied.
Example: SITE, DEVICE, DEVICE_GROUP.

Status code

200 OK

Sample request

[
	{
		"entityId": "717",
		"entityType": "SITE"
	},
	{
		"entityId": "DGP-437315a3-0931-4165-b960-10e06642e942",
		"entityType": "DEVICE_GROUP"
	},
	{
		"entityId": "123237d7-9854-454d-ae97-7ad007efa486",
		"entityType": "DEVICE"
	}
]

Sample response

Null