ISPConfig3 create a reseller

Discussion in 'Developers' Forum' started by newdev, May 17, 2011.

  1. newdev

    newdev New Member

    Hello,
    Is it possible to create a reseller using ISPConfig's remoting api?
    I tried changing reseller_id parameter but that didn't help. Also, I couldn't find any information on this.
     
  2. till

    till Super Moderator

    You can create a reseller with the client_add function. A reseller is a client where the "limit_clients" parameter is set to a value > 0.
     
  3. newdev

    newdev New Member

    Thank you!
     
  4. dgmufasa

    dgmufasa New Member

    limit_clients and -1

    Hi there,

    Saw this post and had an additional question ...

    Out of curiosity, does this mean setting limit_clients to -1 will allow one to create clients with no limit?

    Also, are there any special parameters to set for assigning a regular client to a reseller account?

    TIA
     
    Last edited: Oct 26, 2011
  5. dgmufasa

    dgmufasa New Member

    OK, I looked at parent_id in the DB (client table) and saw that it was set with the ID of the seller (under which it was created).
     
  6. till

    till Super Moderator

    Yes, -1 is unlimited as in all limit fields.
     

Share This Page