updatePermission
abstract suspend fun updatePermission(fileId: String, permissionId: String, role: OmhPermissionRole): OmhPermission?
This method update permission role in a given file
Return
Updated permission or null
Parameters
fileId
The file id with the permission
permissionId
The id of the permission to be edited
role
The desired role value
Throws
if permission was not updated