List my organizations
organizations.list() -> OrganizationListResponse { organizations, total }
GET/v1/organizations
Lists the organizations the authenticated caller is an active member of (paginated). Returns an empty list when the caller belongs to no organizations.
List my organizations
require "vitable_connect"
vitable_connect = VitableConnect::Client.new(
environment: "environment_1" # defaults to "production"
)
organizations = vitable_connect.organizations.list
puts(organizations){
"organizations": [
{
"id": "org_abc123def456",
"name": "Acme Brokerage",
"type": "BROKERAGE",
"idp_org_id": "org_01J0WORKOS",
"idp_provider": "workos",
"super_in": false
}
],
"total": 1
}Returns Examples
{
"organizations": [
{
"id": "org_abc123def456",
"name": "Acme Brokerage",
"type": "BROKERAGE",
"idp_org_id": "org_01J0WORKOS",
"idp_provider": "workos",
"super_in": false
}
],
"total": 1
}