Accounts
Fetch all accounts for a resource
Fetches all accounts associated with the specified resource. Supports optional filtering by view type, resource group, search keywords, and pagination.
get/restapi/json/v1/resources/{resourceId}/accounts
Request
- Base URLhttps://Hostname:Port
- AuthAPI key in header AUTHTOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
resourceIdinteger required
Resource ID
Query parameters
JSON string with optional filter and pagination parameters.
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Response
List of accounts
Example response
{
"operation": {
"Details": {
"RESOURCE NAME": "Windows Server Operation",
"RESOURCE ID": "301",
"RESOURCE TYPE": "WindowsDomain",
"RESOURCE DESCRIPTION": "Resource desc",
"LOCATION": "India",
"DNS NAME": "127.0.0.1",
"RESOURCE URL": "http://windowsserver",
"RESOURCE OWNER": "admin",
"DEPARTMENT": "IT Services",
"RESOURCE PASSWORD POLICY": "Medium",
"PASSWORDREQUEST_REASON_MANDATORY": "true",
"IS_LOCAL_ACCOUNTS_AUTOLOGON_RESTRICTED": "false",
"IS_SSH_RESTRICTED": "false",
"NEWSSHTERMINAL": "false",
"IS_TOTP_SUPPORTED": "true",
"ALLOWOPENURLINBROWSER": "true",
"ISRDPRESTRICTED": "false",
"ALLACCOUNTCOUNT": "5",
"CUSTOM FIELD": [
{
"CUSTOMFIELDLABEL": "Asset Tag",
"CUSTOMFIELDTYPE": "Character",
"CUSTOMFIELDCOLUMNNAME": "COLUMN_CHAR1",
"CUSTOMFIELDVALUE": "ASSET-2025-0456"
}
],
"ACCOUNT LIST": [
{
"ACCOUNT NAME": "administrator",
"ACCOUNT ID": "301",
"ACCOUNT PASSWORD POLICY": "Medium",
"PASSWORD STATUS": "****",
"ISFAVPASS": "false",
"PASSWORDREQUEST_REASON_MANDATORY": "true",
"AUTOLOGONLIST": [
"Windows Remote Desktop",
"RDP Console Session",
"VNC",
"HTTPS Gateway"
],
"AUTOLOGONSTATUS": "ALLOWED",
"ISREMOTEAPPONLY": "false",
"REMOTEAPPLIST": {
"app1": "Notepad",
"app2": "CMD"
},
"IS_USER_WITH_COMMAND_CONTROL_ROLE": "true",
"IS_COMMAND_CONTROL_CONFIGURED": "false",
"PASSWDID": "301",
"IS_TICKETID_REQD": "false",
"IS_TICKETID_REQD_MANDATORY": "false",
"IS_TICKETID_REQD_ACW": "false",
"IS_TOTP_CONFIGURED": "false",
"TOTP_VALIDITY": "30",
"IS_PRIVATE_KEY_LOGIN_ENABLED": "false",
"IS_GATEWAY_SESSION_RECORDING_ENABLED": "false",
"IS_WEB_SESSION_RECORDING_ENABLED": "false",
"ISREASONREQUIRED": "false"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.