Conditional Access Policy Meta
Meta APIs for Identity Protection Conditional Access Policy
Download Conditional Access Policy Meta OpenAPI Document
End Points
Get Conditional Access Policies
Get Conditional Access Policies
The Get Conditional Access Policies API can be used to get the list of all conditional access policies.
OAuth Scope : id360.meta.READ,id360.conditional_access_policy.READ
headers_data = Map();
headers_data.put("Accept", "application/json");
headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f");
response = invokeUrl
[
url: "https://id360.manageengine.com/api/v1/meta/conditional-access-policies"
type: GET
headers: headers_data
connection: <connection_name>
];
info response;
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://id360.manageengine.com/api/v1/meta/conditional-access-policies")
.get()
.addHeader("Accept", "application/json")
.addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f")
.build();
Response response = client.newCall(request).execute();
const options = {
method: 'GET',
headers: {
Accept: 'application/json',
Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
}
};
fetch('https://id360.manageengine.com/api/v1/meta/conditional-access-policies', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import http.client
conn = http.client.HTTPSConnection("id360.manageengine.com")
headers = {
'Accept': "application/json",
'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
conn.request("GET", "/api/v1/meta/conditional-access-policies", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
const http = require("https");
const options = {
"method": "GET",
"hostname": "id360.manageengine.com",
"port": null,
"path": "/api/v1/meta/conditional-access-policies",
"headers": {
"Accept": "application/json",
"Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"
}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.end();
curl --request GET \
--url https://id360.manageengine.com/api/v1/meta/conditional-access-policies \
--header 'Accept: application/json' \
--header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'
{
"data": [
{
"max_policies_limit_per_org": 200,
"max_users_limit_per_policy": 100,
"max_groups_limit_per_policy": 100,
"endpoint_settings": [
{
"name": "ComputerDevices",
"display_name": "Computer Devices",
"display_order": 100,
"modules": [
{
"name": "ComputerDevices",
"is_passwordless_supported": true,
"max_devices_assignment_limit": 100,
"max_device_groups_assignment_limit": 100,
"action_details": [
{
"name": "InteractiveLogon",
"display_name": "Interactive Login",
"supported_os_platforms": [
"windows",
"macos",
"linux"
]
},
{
"name": "InteractiveUnlock",
"display_name": "Interactive Unlock",
"supported_os_platforms": [
"windows",
"macos",
"linux"
]
},
{
"name": "RDPServer",
"display_name": "RDP Server",
"supported_os_platforms": [
"windows"
]
},
{
"name": "UAC",
"display_name": "User Account Control",
"supported_os_platforms": [
"windows",
"macos"
]
},
{
"name": "SSHServer",
"display_name": "SSH Server",
"supported_os_platforms": [
"macos",
"linux"
]
},
{
"name": "CLIElevations",
"display_name": "CLI Elevations",
"supported_os_platforms": [
"macos",
"linux"
]
}
],
"authn_modes": {
"native": {
"unsupported_authnfactors": [
"FIDOAuthenticator",
"DUOAuthenticator",
"SAMLAuthenticator",
"SQAAuthenticator",
"SmartCardAuthenticator"
]
},
"securelink": {
"notification_template_module": "MFA",
"notification_template_submodule": "VPNMFA_SecureLink"
}
}
}
]
}
],
"advanced_settings": {
"captcha_failure_attempts_values": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
],
"idle_timeout_values": [
1,
2,
3,
4,
5
],
"otp_notification_template_module": "MFA",
"otp_notification_template_submodule": "Verification_OTP",
"endpoint_module_specific_settings": {
"NPS_VPN": {
"radius_attributes_details": {
"types": [
"standard",
"vendor"
],
"data_types": [
"string",
"integer",
"enum",
"ipv4address",
"ipv6address"
],
"standard_attibutes": [
{
"name": "User-Name",
"display_name": "User Name"
},
{
"name": "NAS-IP-Address",
"display_name": "NAS IP Address"
},
{
"name": "NAS-Port",
"display_name": "NAS Port"
},
{
"name": "Framed-IP-Address",
"display_name": "Framed IP Address"
},
{
"name": "Calling-Station-ID",
"display_name": "Calling Station ID"
}
]
}
}
}
}
}
]
}
{
"error": {
"code": "00000101",
"title": "Unauthorized",
"detail": "The OAuth token is invalid."
}
}
{
"error": {
"code": "00000000",
"title": "Internal Server Error",
"detail": "An unexpected internal error has occurred on the server. Please try again later."
}
}