moveToTrash

abstract suspend fun moveToTrash(fileIds: Set<String>, shareId: String? = null)

Moves files with the specified fileIds to the trash.

Parameters

fileIds

Set of file ids.

shareId

Id of the shared link within which the directory will be copied. It is necessary that the parent directory contains the same link.

Throws

When session is not active.

Unauthorized access.

Forbidden access.