Accounts
Add accounts under a resource
JSON with ACCOUNTLIST array. Each account: ACCOUNTNAME (required), PASSWORD,
Adds one or more accounts to a specific resource in PAM360. The request supports extensive configuration for account policies, session recording, password reset behaviors, and custom fields.
post/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
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Request body application/x-www-form-urlencoded
Example request
{
"operation": {
"Details": {
"ACCOUNTLIST": [
{
"ACCOUNTNAME": "Administrator",
"PASSWORD": "Pa$$ Word@124",
"ACCOUNTPASSWORDPOLICY": "Strong",
"RECORD_RDP_SESSIONS": true,
"RECORD_CLI_SESSIONS": true,
"DISABLE_PASSWORD_RESETS": true,
"CONFIGURE_PASSWORD_RESET": true,
"ACCOUNT_RESOURCE_GROUP_IDS": [
"601"
],
"IIS_WEB_CONFIG_RESET": true,
"IIS_APP_POOL_RESTART": true,
"IIS_APP_POOL_RESET": true,
"SERVICES_RESTART": true,
"SERVICES_RESET": true,
"SCHEDULED_TASK_RESET": true,
"NOTES": "IT Security - BES PMP API Test",
"TOTP_SECRET": "Z7G3QW5XRT",
"TOTP_ALGORITHM": "SHA256",
"TOTP_DIGITS": "6",
"TOTP_VALIDITY": "30",
"WEBSITE_SESSION_RECORDING": true,
"GATEWAY_SESSION_RECORDING": true,
"SAP_USER_TYPE": "A",
"ACCOUNTCUSTOMFIELD": [
{
"CUSTOMLABEL": "Secure Account",
"CUSTOMVALUE": "YES"
}
]
}
]
}
}
}Response
Accounts created
Example response
{
"operation": {
"name": "ADD ACCOUNTS"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.