delete

fun delete(group: Group, onCompletion: (SippoResourceError?) -> Unit)

Deletes the specified group. Note: The user needs to be the group's owner.

Parameters

group

Group to be deleted.

onCompletion

Callback that will be invoked when the request is completed. It will receive a SippoResourceError if any error occurs. In case of success, error will be null.