Delete iSCSI credentials
Deletes specified iSCSI credentials to manage and secure your iSCSI configurations. Use this operation to remove credentials that are no longer needed or have been compromised.
HTTP method and endpoint
DELETE /protocols/san/iscsi/credentials/{svm.uuid}/{initiator}
Introduced in
ONTAP 9.6
Related ONTAP commands
-
vserver iscsi security delete
Learn more
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 |
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 |
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. |