delete

abstract suspend fun delete(memberId: String): DeleteMemberResponse

Deletes a Member. The caller must have permission to call this endpoint via the project's RBAC policy & their role assignments.

Return

DeleteMemberResponse

Parameters

memberId

The ID of the member to be deleted


abstract fun delete(memberId: String, callback: (DeleteMemberResponse) -> Unit)

Deletes a Member. The caller must have permission to call this endpoint via the project's RBAC policy & their role assignments.

Parameters

memberId

The ID of the member to be deleted

callback

a callback that receives a DeleteMemberResponse