NSX-T Data Center REST API
Replace file contents
Request:
Method:
PUT
URI Path(s):
/api/v1/cluster/<cluster-node-id>/node/file-store/<file-name>/data
/api/v1/transport-nodes/<transport-node-id>/node/file-store/<file-name>/data
/api/v1/node/file-store/<file-name>/data
/api/v1/transport-nodes/<transport-node-id>/node/file-store/<file-name>/data
/api/v1/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+