jira.js
    Preparing search index...

    Function getUsers

    • Returns a list of managed accounts in an organization.

      Authorization scopes required: read:accounts:admin

      Parameters

      • client: Client
      • parameters: { cursor?: string; orgId: string }
        • Optionalcursor?: string

          Sets the starting point for the page of results to return.

        • orgId: string

          Your organization has a unique ID. Find this ID in your Atlassian Administration URL or when you create your API key.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              data?: {
                  access_billable?: boolean;
                  account_id: string;
                  account_status: "active"
                  | "inactive"
                  | "closed"
                  | string & {};
                  account_type: string & {} | "atlassian" | "app" | "customer";
                  email?: string;
                  last_active?: Date;
                  links?: { self: string | null; [key: string]: unknown };
                  name: string;
                  picture: string;
                  product_access?: {
                      key:
                          | string & {}
                          | "jira-software"
                          | "jira-service-desk"
                          | "jira-core"
                          | "jira-ops"
                          | "stride"
                          | "hipchat"
                          | "confluence"
                          | "bitbucket"
                          | "trello"
                          | "opsgenie"
                          | "statuspage";
                      last_active?: Date;
                      name: string;
                      url?: string;
                      [key: string]: unknown;
                  }[];
                  [key: string]: unknown;
              }[];
              links?: {
                  next?: string
                  | null;
                  prev?: string | null;
                  self?: string | null;
                  [key: string]: unknown;
              };
              meta?: { total?: number; [key: string]: unknown };
              [key: string]: unknown;
          },
      >