Commands: UpdateMetadataAsync

UpdateMetadataAsync is used if you need to change just the file's metadata without any modification to its content.


Task UpdateMetadataAsync(string filename, RavenJObject metadata, Etag etag = null);
filename string The modified file name
metadata RavenJObject New file metadata
etag Etag The current file Etag, used for concurrency checks (null skips check)

Return Value
Task A task that represents the asynchronous metadata update operation.


await store
		new RavenJObject()
				"AllowRead", "None"