copy

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

Copies files with the specified fileIds to the directory with the parentId.

Parameters

fileIds

Set of file ids.

parentId

Id of the parent directory in which the directory will be copied.

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.