You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Commands: CleanUp

The POST method forces to run a background task that will clean up files marked as deleted. Read Background tasks article for details.

Syntax

curl \
	http://{serverUrl}/fs/{fileSystemName}/storage/cleanup  \
	-X POST \
    -d ""

Request

Payload
Empty

Response

Status code Description
204 NoContent

Example

curl \
	-X POST http://localhost:8080/fs/NorthwindFS/storage/cleanup  \
	-d ""
< HTTP/1.1 204 NoContent