createCollection

suspend fun createCollection(name: String? = null, ids: Collection<String>? = emptyList(), parentId: UUID? = null, isLocked: Boolean? = false): Response<CollectionCreationResult>

Creates a new collection.

Parameters

name

The name of the collection.

ids

Item Ids to add to the collection.

parentId

Optional. Create the collection within a specific folder.

isLocked

Whether or not to lock the new collection.