delete

abstract suspend fun delete(): DeleteOrganizationResponse

Deletes the Organization of the logged-in member. All Members of the Organization will also be deleted. The member must have permission to call this endpoint via the project's RBAC policy & their role assignments. Note: This endpoint will log out the current member, as they will also be deleted

Return

DeleteOrganizationResponse


abstract fun delete(callback: (DeleteOrganizationResponse) -> Unit)

Deletes the Organization of the logged-in member. All Members of the Organization will also be deleted. The member must have permission to call this endpoint via the project's RBAC policy & their role assignments. Note: This endpoint will log out the current member, as they will also be deleted

Parameters

callback

a callback that receives a DeleteOrganizationResponse