fileOwnershipChange

abstract suspend fun fileOwnershipChange(fileDescriptor: RainbowFileDescriptor, ownerId: String): RainbowResult<RainbowFileDescriptor>

Drops the ownership to another Rainbow user of the same company The user must be in the same company and allowed by administrator

Return

RainbowResult callback (onSuccess, onError)

Parameters

fileDescriptor

RainbowFileDescriptor the RainbowFileDescriptor to change ownership

ownerId

String the unique identifier of the target owner of the file