jira.js
    Preparing search index...

    Function updateApplicationRole

    • Updates the ApplicationRole with the passed data. Only the groups and default groups setting of the role may be updated. Requests to change the key or the name of the role will be silently ignored.

      Parameters

      • client: Client
      • parameters: {
            body?: {
                defaultGroups?: string[];
                defined?: boolean;
                groups?: string[];
                hasUnlimitedSeats?: boolean;
                key?: string;
                name?: string;
                numberOfSeats?: number;
                platform?: boolean;
                remainingSeats?: number;
                selectedByDefault?: boolean;
                userCount?: number;
                userCountDescription?: string;
                [key: string]: unknown;
            };
            "If-Match"?: string;
            key: string;
            versionHash?: string;
        }
        • Optionalbody?: {
              defaultGroups?: string[];
              defined?: boolean;
              groups?: string[];
              hasUnlimitedSeats?: boolean;
              key?: string;
              name?: string;
              numberOfSeats?: number;
              platform?: boolean;
              remainingSeats?: number;
              selectedByDefault?: boolean;
              userCount?: number;
              userCountDescription?: string;
              [key: string]: unknown;
          }
        • OptionalIf-Match?: string
        • key: string

          The key of the role to update.

        • OptionalversionHash?: string

          The hash of the version to update. Optional Param

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              defaultGroups?: string[];
              defined?: boolean;
              groups?: string[];
              hasUnlimitedSeats?: boolean;
              key?: string;
              name?: string;
              numberOfSeats?: number;
              platform?: boolean;
              remainingSeats?: number;
              selectedByDefault?: boolean;
              userCount?: number;
              userCountDescription?: string;
              [key: string]: unknown;
          },
      >