Skip to main content

Delete an Active Directory preferred DC configuration for an SVM and domain

Contributors

DELETE /protocols/active-directory/{svm.uuid}/preferred-domain-controllers/{fqdn}/{server_ip}

Introduced In: 9.12

Deletes the Active Directory preferred DC configuration of the specified SVM and domain.

  • vserver active-directory preferred-dc delete

Parameters

Name Type In Required Description

fqdn

string

path

True

Fully Qualified Domain Name.

server_ip

string

path

True

DC's IP address.

svm.uuid

string

path

True

UUID of the SVM to which this object belongs.

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

655507

Failed to remove preferred-dc.

Also see the table of common errors in the Response body overview section of this documentation.

Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.