The update command is used to modify the name and comments of a VPN peer certificate.

JSON Input Data Format
{
    "id": string,
    "name": string,
    "comments": string
}
id * Specifies the Certificate ID.
name * Specifies a name for the certificate, which can be any desired name.
comments Specifies the additional text used to describe the certificate, such as a label or purpose (e.g., "Mike's VPN").
* 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 ..."
}