The write-config command update the configuration of a Serverless-api Gateway.

JSON Input Data Format
{
    "id": string,
    "yaml": string,
}
id * Specifies the ID of the Serverless-api Gateway.
yaml * Specifies the configuration in YAML format for the Serverless-api Gateway.
* 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 ..."
}