createFamily

abstract suspend fun createFamily(familyName: String, isOpened: Boolean = false): Family

Create family.

Parameters

familyName

Family name. Maximum name length - 250 characters.

isOpened

Family is opened, boolean. Default true.

See also

https://be-saas.cloudike.com/backend_docs/rest/api/2/core_pkg/family_app/UserFamilies/index.html#post

Throws

SessionIsNotInitializedException

Session is not active.

Illegal family name.

Unauthorized access.

Forbidden access.

UserMemberOfOtherFamilyException

The user is already a family member.

Other problems.