URL
POST https://{api-url}/api/v2/tenants/{tenantId}/patches/compliance
Sample URLs
https://{api-url}/api/v2/tenants/client_16/patches/compliance
Parameters
Field | Data Type | Description |
---|---|---|
name | String | Unique name for patch compliance. |
description | String | (Optional) Description for patch compliance. |
osType | String | Patches of a certain OS (operating system). Supported values: WINDOWS, LINUX |
Sample request
{
"name": "Patch Compliance of Windows Devices",
"description": "Compliance Check for Certain Windows Devices",
"osType": "WINDOWS"
}
Sample response
{
"id": "PCMP-5c70ea87-2350-4781-9762-df47194d06d3",
"name": "Patch Compliance of Windows Devices",
"description": "Compliance check for Certain Windows Devices",
"createdUser": {
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "admin@opsramp.com"
},
"updatedUser": {
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "admin@opsramp.com"
},
"createdTime": "2019-02-08T12:37:02+0000",
"updatedTime": "2019-02-10T10:40:05+0000",
"osType": "WINDOWS"
}