/api/v0/files/rm

Remove a file from MFS.

Arguments

  • arg [string]: File to remove. Required: yes.

  • recursive [bool]: Recursively remove directories. Required: no.

  • force [bool]: Forcibly remove target at path; implies -r for directories. Required: no.

Response

On success, the call to this endpoint will return with 200 and the following body:

This endpoint returns a `text/plain` response body.

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/files/rm?arg=<path>&recursive=<value>&force=<value>"

Last updated