create Team

suspend fun createTeam(title: String, logoPicName: String, logoPicBytes: ByteArray, description: String, membersRaw: List<TeamMember>): JsonObject

Method to request to create a team

Return

the result of the request as JsonObject

Parameters

title

The title of the team

logoPicName

The name of the logo picture selected

logoPicBytes

The array of bytes made up the logo picture

description

The description of the team

membersRaw

Raw list of members to add in the team