Class Organization

Hierarchy

  • BaseOrganization
    • Organization

Properties

fullLicensesPurchased: number

Purchased FULL licenses

id: string
name: string

Name of the organization

plan: string

Organization plan type

type?: string

Methods

  • Retrieves organization members based on the organization ID and the cursor, or based on the user emails provided in the request.

    Required scope

    organizations:read

    Rate limiting

    Level 3

    Enterprise only

    This API is available only for <a target=_blank href="/reference/api-reference#enterprise-plan">Enterprise plan users.

    Returns an iterator which will automatically paginate and fetch all available resources

    Summary

    Get organization members

    Parameters

    • query: Omit<undefined | {
          active?: boolean;
          cursor?: string;
          emails?: string;
          license?: "unknown" | "full" | "occasional" | "free" | "free_restricted" | "full_trial";
          limit?: number;
          role?: "unknown" | "organization_internal_admin" | "organization_internal_user" | "organization_external_user" | "organization_team_guest_user";
      }, "offset">

      query to be used for organization members retrieval

    Returns AsyncGenerator<OrganizationMember, void, unknown>

  • Retrieves list of all teams in an existing organization.

    Required scope

    organizations:teams:read

    Rate limiting

    Level 1

    Enterprise only

    This API is available only for <a target=_blank href="/reference/api-reference#enterprise-plan">Enterprise plan users.

    Returns an iterator which will automatically paginate and fetch all available resources

    Summary

    List teams

    Parameters

    • query: undefined | {
          cursor?: string;
          filterQuery?: string;
          limit?: number;
      }

    Returns AsyncGenerator<Team, void, unknown>

  • Retrieves board classification settings for an existing organization.

    Required scope

    organizations:read

    Rate limiting

    Level 2

    Enterprise only

    This API is available only for <a target=_blank href="/reference/api-reference#enterprise-plan">Enterprise plan users.

    Summary

    Get organization settings

    Returns Promise<DataClassification>

  • Retrieves default team settings of an existing organization.

    Required scope

    organizations:teams:read

    Rate limiting

    Level 1

    Enterprise only

    This API is available only for <a target=_blank href="/reference/api-reference#enterprise-plan">Enterprise plan users.

    Summary

    Get default team settings

    Returns Promise<TeamSettings>

  • Retrieves organization member information for an existing organization.

    Required scope

    organizations:read

    Rate limiting

    Level 3

    Enterprise only

    This API is available only for <a target=_blank href="/reference/api-reference#enterprise-plan">Enterprise plan users.

    Summary

    Get organization member

    Parameters

    • memberId: string

      id of the organization member

    Returns Promise<OrganizationMember>

  • Retrieves team information for an existing team.

    Required scope

    organizations:teams:read

    Rate limiting

    Level 1

    Enterprise only

    This API is available only for <a target=_blank href="/reference/api-reference#enterprise-plan">Enterprise plan users.

    Summary

    Get team

    Parameters

    • teamId: string

      The id of a Team.

    Returns Promise<Team>