Podio API Documentation
Organizations: End organization membership
Ends the users membership of all spaces in the organization. In workspaces in the organization where the user is the last admin, other users will be promoted to admins. Workspaces where the user is the only member will be deleted.
- PHP Client
PodioOrganizationMember::delete( $org_id, $user_id );
- Ruby Gem
Podio::OrganizationMember.delete( org_id, user_id )