The create command is used to provision a Data Gate connection to a Block Storage.

JSON Input Data Format
{
    "name": string,
    "rbs": string,
    "accesskey": string,
    "secretkey": string,
    "homedir": string,
    "serviceport": integer
}
name * Specifies a name for the Data Gate, which can be any desired name.
rbs * Specifies the storage ID that the SFTP user will have access to.
accesskey * Specifies essentially the SFTP username.
secretkey * Specifies the password for the SFTP user. This field allows the use of Secret Key Tags to obfuscate the password, ensuring enhanced security.
homedir * Specifies the home directory of the SFTP user.
serviceport * Specifies the SFTP service port number, which can be a value between 1000 and 64000.
* 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 ..."
}