Accounts
Edit an account
Updates the account details for a given resource and account ID in PAM360.
put/restapi/json/v1/resources/{resourceId}/accounts/{accountId}
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
accountIdinteger required
Account ID
Headers
orgNamestring
Name of the Organization (for MSP/multi-org deployments)
Request body application/x-www-form-urlencoded
Example request
{
"INPUT_DATA": {
"operation": {
"Details": {
"ACCOUNTNAME": "Admin",
"ACCOUNTPASSWORDPOLICY": "Strong",
"ACCOUNTPASSWORDPOLICYID": 1,
"RECORD_RDP_SESSIONS": true,
"DISABLE_PASSWORD_RESETS": true,
"ACCOUNT_RESOURCE_GROUP_IDS": [
3002,
3003
],
"SCHEDULED_TASK_RESET": true,
"COMMAND_SET": 1,
"OWNERNAME": "admin",
"TOTP_SECRET": "Z7G3QW5XRT",
"TOTP_ALGORITHM": "SHA256",
"TOTP_DIGITS": "6",
"TOTP_VALIDITY": "30",
"NOTES": "Updated notes",
"DOMAINNAME": "domain",
"DESCRIPTION": "Windows account",
"SAP_USER_TYPE": "A"
}
}
}
}Response
Account updated
Example response
{
"operation": {
"name": "EDIT ACCOUNT"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.