Delete a file or directory

delete/sessions/{sessionId}/files/{fileOrDirectoryPath}
Internal-Use Only

Deletes a file or directory.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
fileOrDirectoryPath
string
true

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

sessionId
string<object-id>
true

Specifies the ID of the session.

Header Parameters

NameTypeRequiredDescription
If-Match
string
true

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

Responses

StatusMeaningDescription
204No ContentThe file or directory was successfully deleted.
400Bad RequestThe request was invalid. The file or directory cannot be deleted.Schema