Device Posture
Retrieve Criteria Device Posture of a session server with the specified ID.
Path parameters
idinteger · int32Required
The ID of a session server for which to retrieve the Criteria settings.
Responses
200
Success
application/json; api-version=1.0
Device Posture Criteria
enabledbooleanOptional
Whether the Device Posture Criteria is enabled or not
compliancestring · enumOptionalPossible values:
Compliance type options
matchUnevaluatedbooleanOptional
Whether to also match devices that cannot be evaluated
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get/api/LogonHours/{id}/Criteria/DevicePostures
GET /api/LogonHours/{id}/Criteria/DevicePostures HTTP/1.1
Accept: */*
{
"enabled": true,
"compliance": [
"0 = Compliant",
"1 = NonCompliant"
],
"matchUnevaluated": true
}Modify the Device Posture of the Criteria settings.
Path parameters
idinteger · int32Required
The ID of a session server for which to modify the Criteria settings.
Body
compliancestring · enumOptionalPossible values:
Compliance type options
matchUnevaluatedboolean · nullableOptional
Whether to also match devices that cannot be evaluated
Responses
204
No Content
No content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
put/api/LogonHours/{id}/Criteria/DevicePostures
PUT /api/LogonHours/{id}/Criteria/DevicePostures HTTP/1.1
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 75
{
"compliance": [
"0 = Compliant",
"1 = NonCompliant"
],
"matchUnevaluated": true
}No content
Last updated