delete_organization_members

imerit_ango.sdk.SDK.

delete_organization_members(organization_id, member_emails)

Remove specified members from an organization.

Parameters

  • organization_id: string

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

  • member_emails: List[string]

Returns:

  • output: dict

    • A dictionary containing the result of the operation.

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)

ango_sdk.delete_organization_members(organization_id=organization_id, 
                                     member_emails=["[email protected]", "[email protected]"])

Last updated