Organization Membership object.
Visit official API Doc
Returns information about a user's Organization Membership.
Visit official API Doc
client.organizations.retrieve_membership(uuid: uuid)
#=> #<Calendlyr::Organizations::Membership>
Use this to list the Organization Memberships for all users belonging to an organization.
Visit official API Doc
For the example bellow we will use only required parameters, but you can use any other parameter as well.
client.organizations.list_memberships(user: user)
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Organizations::Membership>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
client.organizations.list_memberships(organization: organization)
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Organizations::Membership>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
organization_membership.associated_organization
#=> #<Calendlyr::Organization>
organization_membership.associated_user
#=> #<Calendlyr::User>
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
organization_membership.group_relationships
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Groups::Relationship>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>