URL

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

Sample URLs

To assign a device group to patch compliance:

https://{api-url}/api/v2/tenants/client_16/patches/compliance/PCMP-5c70ea87-2350-4781-9762-df47194d06d3/deviceGroups/DGP-3d12eb46-d0ec-4825-a247-0fc87726a73d/ASSIGN

To unassign a device group to patch compliance:

https://{api-url}/api/v2/tenants/client_16/patches/compliance/PCMP-5c70ea87-2350-4781-9762-df47194d06d3/deviceGroups/DGP-3d12eb46-d0ec-4825-a247-0fc87726a73d/UNASSIGN

To not apply patches to a device group, unassign (remove) the device group from that compliance.

Sample response

Null