Close open files identified by SVM
Closes open files identified by the SVM, file, connection, and session identifiers. This operation is useful for managing file access and ensuring system stability.
HTTP method and endpoint
DELETE /protocols/cifs/session/files/{node.uuid}/{svm.uuid}/{identifier}/{connection.identifier}/{session.identifier}
Introduced in
ONTAP 9.11
Usage notes
Closes open files identified by svm.uuid, file.identifier, connection.identifier and session_id.
Learn more
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
node.uuid |
string |
path |
True |
Node UUID. |
identifier |
integer |
path |
True |
File ID
|
connection.identifier |
integer |
path |
True |
Connection ID |
session.identifier |
integer |
path |
True |
Session ID
|
svm.uuid |
string |
path |
True |
UUID of the SVM to which this object belongs. |
fields |
array[string] |
query |
False |
Specify the fields to return. |
Response
Status: 200, Ok
Error
Status: Default, Error
| 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. |