How to add Logon Domain through Rest API
79
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:02 PM
Objective
How to add the Logon Domain information when adding an accounts through Rest API
Environment
10.8;10.9;10.10
Procedure
Here is an example of the add account Rest API query with Logon Domain:
POST:
========
{{BaseURL}}/PasswordVault/api/Accounts
========
BODY:
========
{
"name": "Operating System-WinDomain-SRV1.Domian.com-User123",
"address": "SRV1.Domian.com",
"userName": "User123",
"platformId": "WinDomain",
"safeName": "WinSRV",
"secretType": "password",
"secret": "Password Value",
"platformAccountProperties": {
"LogonDomain": "Domian"
},
"secretManagement": {
"automaticManagementEnabled": true,
},
"remoteMachinesAccess": {
"remoteMachines": "string",
"accessRestrictedToRemoteMachines": true
}
}
========