Documentation is now available for the Fall 2020 Update release!

Assign or unassign a baseline from patch compliance

This endpoint is used to assign or unassign a patch baseline attached to a patch compliance check.

Leave Feedback

URL

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

Sample URLs

patch-compliance-assign-unassign-devices-post.md To assign a baseline to patch compliance:

https://{api-url}/api/v2/tenants/client_16/patches/compliance/PCMP-5c70ea87-2350-4781-9762-df47194d06d3/baselines/PBL-198014e3-74c0-4e12-a6e1-c161d9003fd6/ASSIGN

To unassign a baseline to patch compliance:

https://{api-url}/api/v2/tenants/client_16/patches/compliance/PCMP-5c70ea87-2350-4781-9762-df47194d06d3/baselines/PBL-198014e3-74c0-4e12-a6e1-c161d9003fd6/UNASSIGN

Use the Get Baseline Details API to retrieve the list of patch baselines for a client.

Sample response

Null