API Docs - For Review
/
No Results Found

Account Linking

This API allows you to manage the settings for linking local accounts on devices with Identity360 accounts.

Download Account Linking OpenAPI Document
End Points
Get Device Account Linking Settings
Update Device Account Linking Settings
Sync Device Account Linking
Get Device Account Linking History

Attribute

is_enabled
boolean
Indicates if account linking is enabled
attribute_type
string
Type of attribute used for account linking
Allowed Values:
  • attribute
  • naming_format
attribute_value
string
Value of the attribute used for account linking
ondemand_provisioning_settings
object
Show Sub-Attributes arrow
is_enabled
boolean
Indicates if on-demand provisioning is enabled
default_permission_level
string
Default permission level for on-demand provisioning
Allowed Values:
  • standard
  • admin

Example

{ "is_enabled": false, "attribute_type": "attribute", "attribute_value": "localAccountName", "link_restricted_local_accounts": [ "sysadmin", "administrator", "recovery" ], "ondemand_provisioning_settings": { "is_enabled": false, "default_permission_level": "standard" } }

Get Device Account Linking Settings

The Get Device Account Linking Settings API can be used to get the settings for linking local accounts on devices with Identity360 accounts.
OAuth Scope : id360.device.READ,id360.device.ALL

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/device-account-linking" 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/device-account-linking") .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/device-account-linking', 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/device-account-linking", 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/device-account-linking", "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/device-account-linking \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

Update Device Account Linking Settings

The Update Device Account Linking Settings API can be used to update the settings for linking local accounts on devices with Identity360 accounts.
OAuth Scope : id360.device.WRITE,id360.device.ALL

Arguments

is_enabled
boolean
Indicates if account linking is enabled
attribute_type
string
Type of attribute used for account linking
Allowed Values:
  • attribute
  • naming_format
attribute_value
string
Value of the attribute used for account linking
ondemand_provisioning_settings
object
Show Sub-Attributes arrow
is_enabled
boolean
Indicates if on-demand provisioning is enabled
default_permission_level
string
Default permission level for on-demand provisioning
Allowed Values:
  • standard
  • admin

Request Example

Click to copy
parameters_data='{"is_enabled":false,"attribute_type":"attribute","attribute_value":"localAccountName","link_restricted_local_accounts":["sysadmin","administrator","recovery"],"ondemand_provisioning_settings":{"is_enabled":false,"default_permission_level":"standard"}}'; headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/device-account-linking" type: PATCH headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"is_enabled\":false,\"attribute_type\":\"attribute\",\"attribute_value\":\"localAccountName\",\"link_restricted_local_accounts\":[\"sysadmin\",\"administrator\",\"recovery\"],\"ondemand_provisioning_settings\":{\"is_enabled\":false,\"default_permission_level\":\"standard\"}}"); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/device-account-linking") .patch(body) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PATCH', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f', 'content-type': 'application/json' }, body: '{"is_enabled":false,"attribute_type":"attribute","attribute_value":"localAccountName","link_restricted_local_accounts":["sysadmin","administrator","recovery"],"ondemand_provisioning_settings":{"is_enabled":false,"default_permission_level":"standard"}}' }; fetch('https://id360.manageengine.com/api/v1/device-account-linking', 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") payload = "{\"is_enabled\":false,\"attribute_type\":\"attribute\",\"attribute_value\":\"localAccountName\",\"link_restricted_local_accounts\":[\"sysadmin\",\"administrator\",\"recovery\"],\"ondemand_provisioning_settings\":{\"is_enabled\":false,\"default_permission_level\":\"standard\"}}" headers = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", 'content-type': "application/json" } conn.request("PATCH", "/api/v1/device-account-linking", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PATCH", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/device-account-linking", "headers": { "Authorization": "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f", "content-type": "application/json" } }; 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.write(JSON.stringify({ is_enabled: false, attribute_type: 'attribute', attribute_value: 'localAccountName', link_restricted_local_accounts: ['sysadmin', 'administrator', 'recovery'], ondemand_provisioning_settings: {is_enabled: false, default_permission_level: 'standard'} })); req.end();
curl --request PATCH \ --url https://id360.manageengine.com/api/v1/device-account-linking \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' \ --header 'content-type: application/json' \ --data '{"is_enabled":false,"attribute_type":"attribute","attribute_value":"localAccountName","link_restricted_local_accounts":["sysadmin","administrator","recovery"],"ondemand_provisioning_settings":{"is_enabled":false,"default_permission_level":"standard"}}'

Body Parameters

Click to copy
{ "is_enabled": false, "attribute_type": "attribute", "attribute_value": "localAccountName", "link_restricted_local_accounts": [ "sysadmin", "administrator", "recovery" ], "ondemand_provisioning_settings": { "is_enabled": false, "default_permission_level": "standard" } }

Response Example

Sync Device Account Linking

The Sync Device Account Linking API can be used to apply the current account linking settings to all unlinked local accounts on devices.
OAuth Scope : id360.device.WRITE,id360.device.ALL

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f"); response = invokeUrl [ url: "https://id360.manageengine.com/api/v1/device-account-linking/sync-now" type: POST headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://id360.manageengine.com/api/v1/device-account-linking/sync-now") .post(null) .addHeader("Authorization", "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f' } }; fetch('https://id360.manageengine.com/api/v1/device-account-linking/sync-now', 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 = { 'Authorization': "Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f" } conn.request("POST", "/api/v1/device-account-linking/sync-now", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "id360.manageengine.com", "port": null, "path": "/api/v1/device-account-linking/sync-now", "headers": { "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 POST \ --url https://id360.manageengine.com/api/v1/device-account-linking/sync-now \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example

Get Device Account Linking History

The Get Device Account Linking History API can be used to get the history of account linking operations performed on devices.
OAuth Scope : id360.device.READ,id360.device.ALL

Query Parameters

limit
Limit the number of users to be fetched
from
Start index for pagination.
fields
Select the fields to be fetched in the response.
filter
Filter users based on a the provided SCIM filter query. Refer to filter section for more details
eg: firstName eq "John" and lastName eq "Doe"
sort
Sort the users based on the provided field. The default sort order is ascending. To sort in descending order, prefix the field with a - (hyphen).
eg: firstName,-lastName

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/device-account-linking/history" 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/device-account-linking/history") .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/device-account-linking/history', 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/device-account-linking/history", 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/device-account-linking/history", "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/device-account-linking/history \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken 1000.41d9xxxxxxxxxxxxxxxxxxxxxxxxc2d1.8fccxxxxxxxxxxxxxxxxxxxxxxxx125f'

Response Example