Update patch compliance

This endpoint is used to update a patch compliance.

Leave Feedback

URL

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

Sample URLs

https://{api-url}/api/v2/tenants/client_16/patches/compliance/PCMP-c979f542-e961-400a-b700-cc3b59ca1f70

Parameters

FieldData TypeDescription
nameString(Optional) Unique name for patch compliance.
descriptionStringDescription for patch compliance.
osTypeString(Optional) Patches of a certain OS (operating system).
Supported values: WINDOWS, LINUX

Sample request

{
	"name": "Linux Compliance",
	"description": "Compliance check on Linux Devices",
	"osType": "LINUX"
}

Sample response

{
	"id": "PCMP-5c70ea87-2350-4781-9762-df47194d06d3",
	"name": "Linux Compliance",
	"description": "Compliance check for Linux Devices",
	"createdUser": {
		"loginName": "John.Smith",
		"lastName": "Smith",
		"firstName": "John",
		"email": "john.smith@myorganization.com"
	},
	"updatedUser": {
		"loginName": "John.Smith",
		"lastName": "Smith",
		"firstName": "John",
		"email": "john.smith@myorganization.com"
	},
	"createdTime": "2019-02-08T12:37:02+0000",
	"updatedTime": "2019-02-10T10:38:24+0000",
	"osType": "LINUX"
}