The create command provisions a new Serverless-api Gateway.

JSON Input Data Format
{
    "cloudid": string,
    "name": string,
    "serviceport": integer
}
cloudid * Specifies the {ANYNODE} ID where the Serverless-api Gateway will be configured.
name * Specifies the name of the Gateway. The input must consist only of lowercase letters (a-z) and numbers (0-9), with no spaces allowed.
serviceport * Secifies the service port number for the 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",
    "id": "V7-49ff499f-xxxx-xxxx-xxxx-b47fxxxx99af"
}

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