Delete SMB session information for an SVM node
DELETE /protocols/cifs/sessions/{node.uuid}/{svm.uuid}/{identifier}/{connection_id}
Introduced In: 9.9
Deletes SMB session information on a node for an SVM.
- 
To delete the specific SMB session information, pass the relavant SMB session's identifier and connection Id.
 - 
To delete all the SMB session information on specific connection, pass the specific SMB session's Identifier value as zero(0).
 - 
To delete all the SMB session information, pass the specific session's identifier and connection Id values as zero(0).
 - 
To delete all the SMB session information on specific Identifier alone is not allowed.
 
Learn more
Parameters
| Name | Type | In | Required | Description | 
|---|---|---|---|---|
node.uuid  | 
string  | 
path  | 
True  | 
Node UUID.  | 
identifier  | 
integer  | 
path  | 
True  | 
Unique identifier for the SMB session.  | 
connection_id  | 
integer  | 
path  | 
True  | 
Unique identifier for the SMB connection.  | 
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 | 
|---|---|
655503  | 
The SMB session delete does not allow a connection ID of zero (0).  | 
| 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.  |