Hi, I've been going through the json and soap api and noticed some parameters are missing. You can't set the following via the api for example: Title (gender in database) Contact firstname (contact_firstname in database) Webservers (web_servers in database) And quite a few more... Also, no ability to set CGI available ect... Any workaround or will the api be updated in the future? Edit - I checked the database, working now
You can set them by simply setting them in params array, they are just not mentioned in the docs yet.
Is it possible to generate a dkim key when creating a mail domain via the api? Also how to I create a lets encrypt certificate for a web domain via the api?
I got the ssl generate working with the following, please tell me if this is fine to do? done this with the sites_web_domain_update api endpoint. First call (Only if it wasn't already enabled): Code: {'ssl': 'y', 'ssl_letsencrypt': 'y'} Second call: Code: { 'ssl_state': 'Example', 'ssl_locality': 'Example', 'ssl_organisation': 'Example', 'ssl_organisation_unit': 'Example', 'ssl_country': 'DE', 'ssl_domain': 'example.com', 'ssl_action': 'create' } Third call (After 'create' is not in ssl_action column anymore): Code: { 'ssl_action': 'save'}