Creates a gateway with given parameters
| Param name | Description |
|---|---|
|
gateway required |
Object containing information about the gateway to be created Value: Must be a Hash |
|
pretty optional |
Return a pretty formatted response if true, Default is false Value: Must be a Boolean |
Request
curl -X GET -H "Content-Type:application/json" -H "X-Auth-Token:WtUFnj8pvSxVnH9e_xkq7A" -d '{"gateway":{"name":"Vertical gateway"}}' https://api.datonis.io/api/v3/gateway
Response (returns details of the gateway created)
{
"gateway": {
"gateway_key": "4ea741566a",
"gateway_type": null,
"name": "Vertical gateway",
"gateway_version": null,
"tags": "",
"adapters": [
]
}
}