A group relationship record for an individual. A given individual may have more than one admin relationship to multiple groups, but only one member relationship to a single group.
Visit official API Doc
Returns a group relationship by uuid.
Visit official API Doc
client.groups.retrieve_relationship(uuid: uuid)
#=> #<Calendlyr::Groups::Relationship>
Returns a list of group relationships - a given owner can have one membership record, but multiple admin records.
Visit official API Doc
For the example bellow we will use not parameters, but you can use the allowed parameters in Calendly docs.
client.groups.list_relationships
#=> #<Calendlyr::Collection @data=[#<Calendlyr::Groups::Relationship>, ...], @count=nil, @next_page=nil, @next_page_token=nil, @client=#<Calendlyr::Client>>
group_relationship.associated_organization
#=> #<Calendlyr::Organization>
group_relationship.associated_group
#=> #<Calendlyr::Group>
group_relationship.associated_owner
#=> #<Calendlyr::Organizations::Membership>