Replace Service Accounts

Replace Service Accounts
Request
URI
PUT
https://{api_host}/dt-rest/v100/security/domain/{id}/replace/serviceaccount
COPY
Path Parameters
string
id
Required

id


Request Body
DtDomainAccountInfoImpl of type(s) application/json
Optional
{
    "id": "string",
    "location": "string",
    "ServiceAccount": [
        {
            "type": "string",
            "dateCreated": "string",
            "imageOrgUnit": "string",
            "username": "string",
            "id": "string",
            "links": [
                {
                    "href": "string",
                    "rel": "string",
                    "deprecated": false,
                    "name": "string",
                    "method": "string"
                }
            ]
        }
    ],
    "SysPrepAccount": [
        {
            "type": "string",
            "dateCreated": "string",
            "imageOrgUnit": "string",
            "username": "string",
            "id": "string",
            "links": [
                {
                    "href": "string",
                    "rel": "string",
                    "deprecated": false,
                    "name": "string",
                    "method": "string"
                }
            ]
        }
    ],
    "DtLink": [
        {
            "href": "string",
            "rel": "string",
            "deprecated": false,
            "name": "string",
            "method": "string"
        }
    ]
}
Responses
200
Returns DtDomainAccountStatus of type(s) */*
"DtDomainAccountStatus Object"
string
status
Optional

status

Possible values are : SUCCESS, FAILURE,
array of object
validatedServiceAccounts
Optional

validatedServiceAccounts

array of object
failedServiceAccounts
Optional

failedServiceAccounts

array of object
validatedDomainJoinAccounts
Optional

validatedDomainJoinAccounts

array of object
failedDomainJoinAccounts
Optional

failedDomainJoinAccounts


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/dt-rest/v100/security/domain/{id}/replace/serviceaccount