Criteria
Retrieve the Criteria settings of an MFA with the specified ID.
Path parameters
idinteger · int32Required
The ID of an MFA for which to retrieve the Criteria settings.
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/MFA/{id}/Criteria HTTP/1.1
Host:
Accept: */*
{
"securityPrincipals": {
"enabled": true,
"matchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"members": [
{
"account": "text",
"type": [
"1 = User",
"2 = Group",
"3 = ForeignSecurityPrincipal",
"4 = Computer"
],
"sid": "text"
}
]
},
"gateways": {
"enabled": true,
"matchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"members": [
{
"gatewayIP": "text"
}
]
},
"oSs": {
"enabled": true,
"matchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"allowedOSes": {
"chrome": true,
"android": true,
"webClient": true,
"iOS": true,
"linux": true,
"mac": true,
"wyse": true,
"windows": true
}
},
"iPs": {
"enabled": true,
"matchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"allowedIPs": {
"iPv4s": [
{
"from": "text",
"to": "text"
}
],
"iPv6s": [
{
"from": "text",
"to": "text"
}
]
}
},
"hardwareIDs": {
"enabled": true,
"matchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"members": [
{
"hardwareID": "text"
}
]
},
"access": [
"0 = DenyCriteriaWhen",
"1 = AllowCriteriaWhen"
],
"devices": {
"enabled": true,
"matchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"members": [
{
"client": "text"
}
]
}
}
Update the Criteria settings of an MFA with the specified ID.
Path parameters
idinteger · int32Required
The ID of an MFA for which to modify the Criteria settings.
Body
accessstring · enumOptionalPossible values:
Access type options
securityPrincipalsEnabledboolean | nullableOptional
Whether the Security Principals criteria is enabled or not
securityPrincipalsMatchingModestring · enumOptionalPossible values:
Matching mode type options
gatewaysEnabledboolean | nullableOptional
Whether the Gateways criteria is enabled or not
gatewaysMatchingModestring · enumOptionalPossible values:
Matching mode type options
devicesEnabledboolean | nullableOptional
Whether the Devices criteria is enabled or not
devicesMatchingModestring · enumOptionalPossible values:
Matching mode type options
oSsEnabledboolean | nullableOptional
Whether the OSs criteria is enabled or not
oSsMatchingModestring · enumOptionalPossible values:
Matching mode type options
iPsEnabledboolean | nullableOptional
Whether the IPs criteria is enabled or not
iPsMatchingModestring · enumOptionalPossible values:
Matching mode type options
hardwareIDsEnabledboolean | nullableOptional
Whether the HardwareIDs criteria is enabled or not
hardwareIDsMatchingModestring · enumOptionalPossible values:
Matching mode type options
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
put
PUT /api/MFA/{id}/Criteria HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 681
{
"access": [
"0 = DenyCriteriaWhen",
"1 = AllowCriteriaWhen"
],
"securityPrincipalsEnabled": true,
"securityPrincipalsMatchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"gatewaysEnabled": true,
"gatewaysMatchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"devicesEnabled": true,
"devicesMatchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"oSsEnabled": true,
"oSsMatchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"iPsEnabled": true,
"iPsMatchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
],
"hardwareIDsEnabled": true,
"hardwareIDsMatchingMode": [
"0 = IsNotOneOfTheFollowing",
"1 = IsOneOfTheFollowing"
]
}
No content
Was this helpful?