Connect to Active Directory Domain
Connects to the AD domain.
Note
In case NAKIVO Backup & Replication was installed in Multi-tenant mode, the use of API is possible only for the Master tenant.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data {
"action": "ADDomainManagement",
"method": "connectAD",
"data": [{
"domainName": "adtestvn.local",
"preferredDc": "10.30.30.1",
"username": "administrator",
"password": "password",
"integratedGroups": "users,domain users" }],
"type": "rpc",
"tid": 1}
Request Fields
Field |
Type |
Value(s) |
---|---|---|
|
string |
|
|
string |
|
|
null |
|
|
string |
|
|
integer |
|
Data
Field |
Value |
Description |
---|---|---|
|
string |
AD domain |
|
string |
Preferred DC/Host (optional) |
|
string |
Username |
|
string |
Password |
|
string |
List of integrated groups |
Response Sample
{
"action": "ADDomainManagement",
"method": "connectAD",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": true
}
Response Fields
Field |
Type |
Value(s) |
---|---|---|
|
string |
|
|
string |
|
|
integer |
|
|
string |
|
|
null |
|
where
|
null |
|
cause
|
null |
|
data
|
boolean | true
|