Skip to main content
REST API reference

Delete a CIFS home directory search path

Removes a CIFS home directory search path when it's no longer needed, helping to manage and streamline your directory configurations.

HTTP method and endpoint

DELETE /protocols/cifs/home-directory/search-paths/{svm.uuid}/{index}

Introduced in

ONTAP 9.6

Usage notes

Deletes a CIFS home directory search path.

  • cifs server home-directory search-path remove

Parameters

Name Type In Required Description

index

integer

path

True

Home directory search path index

svm.uuid

string

path

True

UUID of the SVM to which this object belongs.

Response

Status: 200, Ok

Error

Status: Default, Error
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.