Delete a file or directory

delete/sessions/{sessionId}/files/{fileOrDirectoryPath}

Deletes a file or directory.

Request Samples

Response Samples

1Not Available

Path Parameters

NameTypeRequiredDescription
sessionId
string<object-id>
true

Specifies the ID of the session.

fileOrDirectoryPath
string
true

Specifies the file or directory path. In the path value, replace each forward slash with fs.

Header Parameters

NameTypeRequiredDescription
If-Match
string
true

Specifies the current ETag of the file or directory resource that you are deleting.

Responses

StatusMeaningDescription
204No Content

The file or directory was successfully deleted.

400Bad Request

The request was invalid. The file or directory cannot be deleted.

Schema