Direct Inward Dialing: +1 408 916 9393
This API helps update domain settings in ADManager Plus
Request URL (JSON) format: http://<hostname>:<port>/RestAPI/UpdateDomainSettings
Request parameters:
Following are the request parameters that can be used in the request:
Parameter name | Mandatory | Description |
PRODUCT_NAME | Yes | Product name/module name from which the request is being sent; will be needed for auditing. |
AuthToken | Yes | Authentication token that is generated either from the Delegation tab (Delegation > Configuration > Technician Authtokens) or from the My account tab (My Account > Active Authtokens) in the top right corner of the product. |
domainName | Yes | The domain name for which the settings needs to be updated. |
dcList | No | List of domain controllers in the specified domain |
authenticationRequired | No | Domain authentication required or anonymous login |
userName | No | Domain service account username |
password | No | Domain service account password |
Response:
The response will be a JSON array string which contains the list of JSON objects. Each JSON object in the list represents a domain configured in ADManager Plus. Each object will contain the following properties.
Parameter Name | Description |
domainName | Domain name for which the settings are updated |
status | 0 or 1, where 1 means success and 0 means failed |
statusMessage | Contains the appropriate message if an issue/error occurs while processing the request. |
Sample Input / Output
Request:
http://admanager:8080/RestAPI/UpdateDomainSettings?AuthToken=07dcd0c9-3d7c-42d6-b26b-asdcfed2234&userName=admanager&password=ADManager@123&domainName=admpdev.com&dcList=admpdev-dc1,admpdev-dc2&authenticationRequired=true&PRODUCT_NAME=RestAPI
Response:
{"domainName":"admpdev.com","statusMessage":"Successfully updated the values","status":1}
Note:
Reserved characters include ; /? : @ = &
Unsafe characters include < > # % { } | \ ^ ~ [ ] ` "'