kustomer-client
    Preparing search index...

    Function updateCurrentUser

    • Update Current User Updates the current user.

      Type Parameters

      • ThrowOnError extends boolean = true

      Returns RequestResult<
          {
              data: {
                  attributes: {
                      createdAt: string;
                      displayName: null
                      | string;
                      email: string;
                      emailSignature: null | string;
                      mobile: null | string;
                      name: string;
                      password: { allowNew: boolean; forceNew: boolean; updatedAt: string };
                      roleGroups: string;
                      roles: string[];
                      updatedAt: string;
                      userType: string;
                  };
                  id: string;
                  links: { self: string };
                  relationships: {
                      org: { data: { id: string; type: string }; links: { self: string } };
                  };
                  type: string;
              };
          },
          unknown,
          ThrowOnError,
      >