Skip to main content
A newer release of this product is available.

Delete iSCSI credentials

Contributors

DELETE /protocols/san/iscsi/credentials/{svm.uuid}/{initiator}

Deletes specified iSCSI credentials.

  • vserver iscsi security delete

Parameters

Name Type In Required Description

svm.uuid

string

path

True

initiator

string

path

True

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

2621462

An SVM with the specified UUID does not exist.

2621706

Both the SVM UUID and SVM name were supplied, but they do not refer to the same SVM.

2621707

No SVM was specified. Either svm.name or svm.uuid must be supplied.

5374148

The default security credential cannot be deleted for an SVM.

5374895

The iSCSI security credential does not exist on the specified SVM.

Name Type Description

error

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

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.