Skip to main content

Delete iSCSI credentials

Contributors

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

Introduced In: 9.6

Deletes specified iSCSI credentials.

  • vserver iscsi security delete

Parameters

Name Type In Required Description

svm.uuid

string

path

True

The unique identifier of an SVM.

initiator

string

path

True

The iSCSI initiator of the credentials object.

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.

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.