get_organization_members

imerit_ango.sdk.SDK.

get_organization_members(organization_id)

Retrieve the list of members in an organization.

Parameters

  • organization_id: string

    • The unique identifier for the organization. You can find the organization ID in the user interface.

Returns:

  • output: dict

Example

import os
from dotenv import load_dotenv
from imerit_ango.sdk import SDK

load_dotenv('variables.env')
api_key = os.getenv('API_KEY')
organization_id = os.getenv('ORGANIZATION_ID')

ango_sdk = SDK(api_key)

sdk_response = ango_sdk.get_organization_members(organization_id=organization_id)
members = sdk_response["data"]["users"]

Last updated