System Administration > Configuration > Fabric > Nodes > File Store

Replace file contents

Request:

Method:
PUT
URI Path(s):
/api/v1/node/file-store/<file-name>/data
/api/v1/transport-nodes/<transport-node-id>/node/file-store/<file-name>/data
/api/v1/cluster/<cluster-node-id>/node/file-store/<file-name>/data
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

PUT https://<nsx-mgr>/api/v1/node/file-store/test1.txt/data This is updated content that overwrites the former content.

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
FileProperties+

Example Response:

{ "_schema": "FileProperties", "_self": "/node/file-store/test2.txt", "created_epoch_ms": 1457116797106, "modified_epoch_ms": 1457116797106, "name": "test2.txt", "size": 59 }

Required Permissions:

crud

Feature:

system_administration

Additional Errors: