jira.js
    Preparing search index...

    Function removeUsersFromOrganization

    • This method removes users from an organization.

      Permissions required: Service desk administrator or agent. Note: Permission to delete users from an organization can be switched to users with the Jira administrator permission, using the Organization management feature.

      Parameters

      • client: Client
      • parameters: {
            body: {
                accountIds?: string[];
                organizationId?: number;
                usernames?: string[];
                [key: string]: unknown;
            };
            organizationId: number;
        }
        • body: {
              accountIds?: string[];
              organizationId?: number;
              usernames?: string[];
              [key: string]: unknown;
          }
          • OptionalaccountIds?: string[]

            List of customers, specific by account IDs, to add to or remove from the organization.

          • OptionalorganizationId?: number

            The organizationId in which users need to be added

          • Optionalusernames?: string[]

            This property is no longer available and will be removed from the documentation soon. See the deprecation notice for details. Use accountIds instead.

        • organizationId: number

          The ID of the organization.

      • Optionaloptions: RequestOptions

      Returns Promise<void>