The certificates-renew command renews the certificate for the given domain and stores it in the certificates store.

JSON Input Data Format
{
    "id": string,
    "domain": string,
    "cert": string
}
id * Specifies the ID of the Sky Node.
domain * Specifies the hostname or domain name for which the certificate will be created.
cert * Specifies the type of certificate to create. Input {SITENAME} for {SITENAME} Authority and lets-encrypt for Let's Encrypt Authority.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}