kustomer-client
    Preparing search index...

    Function getAllRoleGroups

    • Get All Role Groups Lists the organization's role groups.

      This will include both the system (uneditable) and custom role groups.

      Type Parameters

      • ThrowOnError extends boolean = true

      Returns RequestResult<
          {
              data: {
                  attributes: {
                      createdAt: string;
                      description: string;
                      display: boolean;
                      name: string;
                      roles: string[];
                      system: boolean;
                      updatedAt: string;
                  };
                  id: string;
                  relationships: {
                      org: { data: { id: string; type: string }; links: { self: string } };
                  };
                  type: string;
              }[];
              links: {
                  first: string;
                  next: null
                  | string;
                  prev: null | string;
                  self: string;
              };
              meta: { page: number; pageSize: number };
          },
          unknown,
          ThrowOnError,
      >