API Docs - For Review
/
No Results Found

Conditional Factor Config Meta

Meta API for Identity Protection Conditional Factor Configurations

Download Conditional Factor Config Meta OpenAPI Document
End Points
Get Conditional Factor Configs

Get Conditional Factor Configs

The Get Conditional Factor Configs API can be used to get the metadata for conditional factor configurations.
OAuth Scope : id360.meta.READ,id360.conditional_access_policy.READ

Request Example

Click to copy
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/conditionalfactor-configs" 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/conditionalfactor-configs") .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/conditionalfactor-configs', 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/conditionalfactor-configs", 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/conditionalfactor-configs", "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/conditionalfactor-configs \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

{ "data": [ { "factor_types": [ [ { "factor_type": "ipaddress", "display_name": "IP Sources", "max_config_limit": 50 }, { "factor_type": "geolocation", "display_name": "Geolocation", "max_config_limit": 50 }, { "factor_type": "time", "display_name": "Business Hours", "max_config_limit": 50, "timezone_values": [ { "name": "Asia/Kolkata", "display_name": "(GMT+5:30) Asia/Kolkata" }, { "name": "Asia/Tokyo", "display_name": "(GMT+9:00) Asia/Tokyo" }, { "name": "Asia/Singapore", "display_name": "(GMT+8:00) Asia/Singapore" }, { "name": "America/New_York", "display_name": "(GMT-5:00) America/New_York" }, { "name": "Europe/London", "display_name": "(GMT+0:00) Europe/London" }, { "name": "Australia/Sydney", "display_name": "(GMT+10:00) Australia/Sydney" } ] }, { "factor_type": "osplatform", "display_name": "Operating System", "os_platform_values": [ { "name": "windows", "display_name": "Windows" }, { "name": "macos", "display_name": "macOS" }, { "name": "linux", "display_name": "Linux" }, { "name": "android", "display_name": "Android" }, { "name": "ios", "display_name": "iOS" }, { "name": "chromeos", "display_name": "ChromeOS" } ] } ] ] } ] }
{ "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." } }