Skip to main content

Update Gateway

PUT 

https://app.infodeck.io/api/lns/tenants/:tenantId/gateways/:gatewayId

Update gateway

Request

Path Parameters

    tenantId stringrequired

    The ID of tenant.

    gatewayId stringrequired

    The ID of gateway.

Body

required
    name stringrequired

    The name of gateway.

    description string

    The description of gateway.

    statsInterval numberrequired

    The stats interval of gateway.

    tagsMap object[]

    The tagsMsp of gateway.

  • Array [
  • ]

Responses

Schema
    data objectrequired

    Data of the gateway.

    tenantId stringrequired
    gatewayId stringrequired
    name stringrequired
    description stringrequired
    statsInterval numberrequired
    tagsMap object[]required
  • Array [
  • ]

Authorization: http

name: usertype: httpscheme: bearerbearerFormat: JWTdescription: Get your API token via POST /authentications/tokens
curl -L -X PUT 'https://app.infodeck.io/api/lns/tenants/:tenantId/gateways/:gatewayId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"description": "string",
"statsInterval": 0,
"tagsMap": [
{}
]
}'
Request Collapse all
Base URL
https://app.infodeck.io/api
Auth
Parameters
— pathrequired
— pathrequired
Body required
{
  "name": "string",
  "description": "string",
  "statsInterval": 0,
  "tagsMap": [
    {}
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!