Get and Delete Device Management Policy
The endpoint is used to get device management policy details and unassign agent policy for resources.
Gets device management policy details.
Path Parameters
- id
Resource management policy uuid
- clientId
Describes the clientId of the tenant
Responses
- matchType
(Optional) The type of match: -To match all the filter conditions, provide matchType: ALL. - To match any one of the filter conditions, provide matchType: ANY.
- Enum:
- ALLANY
- rules
(Optional) Filter devices with specific attributes: - Attribute name of device. Example: Name, Operating System. Attribute names change with device types. - Matching parameter. Supported operators are: Equals, Contains, Not Contains, Starts with, Ends with, Regex. Learn more about Regex. - Type of resource
- actions
- Supported actions - ASSIGN MONITORINGTEMPLATE - ASSIGN KNOWLEDGEARTICLE - Assign Availability Rule - ASSIGN CUSTOMATTRIBUTES - Assign Jobs - ASSIGN CREDENTIALSET - Supported values for items for given action - For Assign Availability Rule , item value is AND - For ASSIGN CUSTOMATTRIBUTES, item value is tagName[value='tagValue'] - For all others this is number in string eg "12345" - Scenarios for Custom attributes item values in response payload - New TagName : New Tag created with given Name and Tag Value, and Assigned. - Id of New Tag Value added to response - Old TagName and New Tag Value : New Tag Value added to Tag and Assigned - Id of New Tag Value added to response. - Old TagName and Old TagValue : Both the details are verfied and Assigned - Id of TagValue added to Response
- id
- name
Name of the policy.
- resourceType
Type of resource. Example: DEVICE, VOLUME, VPN, XENSERVER
- executionOrder
- clientMatchingType
- The clientMatchingType field is optional and when not passed defaults to the following "clientMatchingType": "ALL" - The clientMatchingType field is applicable at partner-level DMP only. - If clientMatchingType EXCLUDE/INCLUDE, then the clients field is mandatory. - On policy update, if clientMatchingType is not passed then clientMatchingType will be updated to ALL and client selection will be removed.
- Enum:
- EXCLUDEINCLUDEALL
Default: ALL
- clients
Unassigns agent policies for resources.
Path Parameters
- id
Resource management policy uuid
- clientId
Describes the clientId of the tenant
Responses
- status
- entity
- metadata
- length
- headers
- cookies
- links
- stringHeaders
- allowedMethods
- statusInfo
- actualEntity