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