• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Creating a new custoer via XML

R

RhysG

Guest
Hello all,

bit of a question here.

I want to use a custom UI for client creation, with a twist. I want to creat a customer, that can only create 1 domain, and that domain must have a template assinged to it, and the account must abide by the rules set up in the template for the domain.

So I assume I am going to dot the following
1. Create the customer via an XML doc.
2. Create an XML doc to create the domain, and then assign it domain to the user via XML
3. Then edit the user to disallow it to create domains and use CL doc's via a third XML document.

Can I do this or what should I be doing?
Then how should I configure the client template to make sure that the domains template is king?

Regards
 
Back
Top