API Guide

"DirectoryType": "LDAP"
}
]
}
Table 28. Attributes
Attribute Description
Id Identifier of the Directory Type.
DirectoryType Directory Type.
/api/AccountService/ExternalAccountProvider/
ADAccountProvider
This URI represents the collection of Active-Directory services.
GET method for ADAccountProvider
This method returns the details of Active Directory services. The details include name, server type, username, timeouts, and port
information.
Description Returns the collection of Active Directory services.
Privilege VIEW
HTTP response
codes
200
Example response
body
{
"@odata.context": "/api/
$metadata#Collection(ExternalAccountProvider.ADAccountProvider)",
"@odata.count": 0,
"value": []
}
POST method for ADAccountProvider
This method adds an Active Directory service.
Description
Adds an Active Directory service.
Privilege SECURITY_SETUP
HTTP response
codes
200
Example request
body
:
{
"Name": "Starship",
"Id":2,
"ServerType": "DNS",
"ServerName": ["10.35.195.1"],
"UserName": "test",
"Password": "test@123",
"ServerPort": 3268,
"NetworkTimeOut": 300,
"SearchTimeOut": 300,
"CertificateValidation": true,
"CertificateFile": ""
}
50 Application settings