The update command is used to modify a secret key.

JSON Input Data Format
{
    "id": string,
    "name": string,
    "secret": string,
    "comments": string
}
id * Specifies the ID of the key.
name * Specifies the name for the key, which can be anything. This field can be retieved via a name tag and is commonly used for user names, API address, or server names.
secret * Specifies the text that will be encrypted. This field can be retrieved via a name tag and is most commonly used for passwords or tokens, but it can store any confidential information.
comments Specifies additional text for the key, used to enter a short description of the key, such as "Token for API" or "Password for Linux."
* 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 ..."
}