Documentation is now available for the Fall 2020 Update release!

Assign or unassign devices from patch compliance

This endpoint is used to assign or unassign devices from a patch compliance.

Leave Feedback

URL

POST https://{api-url}/api/v2/tenants/{tenantId}/patches/compliance/{complianceId}/devices/{deviceId}/{action}

Sample URLs

To assign a device to patch compliance:

https://{api-url}/api/v2/tenants/client_16/patches/compliance/PCMP-5c70ea87-2350-4781-9762-df47194d06d3/devices/2771a95d-496a-4c0b-a4f4-1cf1b7f94045/ASSIGN

To unassign a device to patch compliance:

https://{api-url}/api/v2/tenants/client_16/patches/compliance/PCMP-5c70ea87-2350-4781-9762-df47194d06d3/devices/2771a95d-496a-4c0b-a4f4-1cf1b7f94045/UNASSIGN

Sample response

Null