Update

Update

All the listed privileges are required -

Privileges Description
GLOBAL_CONFIG_MANAGEMENT Caller should have permission to this privilege, to perform this operation.
Request
URI
POST
https://{api_host}/rest/external/v1/ad-domains/{id}/action/update
COPY
Path Parameters
string
id
Required

id


Request Body
ADDomainUpdateSpec of type(s) application/json
Required
{
    "ad_domain_advanced_settings": {
        "ad_domain_auto_discovery": true,
        "ad_domain_context": "dc=abc,dc=com",
        "ad_domain_controllers": [
            "example.com",
            "example1.com"
        ],
        "ad_domain_preferred_site": "Bengaluru",
        "port": 389
    },
    "primary_account": {
        "password": [
            "<password>"
        ],
        "username": "Administrator"
    }
}
ad_domain_advanced_settings
Required

ad_domain_advanced_settings

primary_account
Required

primary_account

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure

401

User is not authenticated

Operation doesn't return any data structure

403

Access to the resource is forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure