kustomer-client
    Preparing search index...

    Function getUserById

    • Get User by ID Retrieves a user using their unique ID.

      Type Parameters

      • ThrowOnError extends boolean = true

      Parameters

      Returns RequestResult<
          {
              data: {
                  attributes: {
                      createdAt: string;
                      displayName: null
                      | string;
                      email: string;
                      mobile: null | string;
                      name: 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,
      >