Close open files identified by SVM
Closes open files associated with a storage virtual machine (SVM) by identifying them through specific file, connection, and session identifiers. This action is useful for managing file access and ensuring data integrity within your storage environment.
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 |
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. |