Update Integration Device
PUT/organizations/:organizationId/integrations/:serviceId/devices/:deviceId
Update Integration Device
Request
Path Parameters
organizationId stringrequired
The ID of organization.
integrationServiceId stringrequired
The ID of integration.
deviceId stringrequired
The ID of integration device.
- application/json
Body
required
- Array [
- ]
devEui stringrequired
The devEui of integration device.
name stringrequired
The name of integration device.
description string
The description of integration.
attributes object[]
The custom attributes of device
Responses
- 200
- 401
- 403
- 422
- application/json
- Schema
- Example (from schema)
- Example
Schema
data objectrequired
Data of the updated service device.
id stringrequired
organizationId stringrequired
integrationServiceId stringrequired
name stringrequired
description stringrequired
devEui stringrequired
updatedAtDateString stringrequired
updatedAt numberrequired
{
"data": {
"id": "string",
"organizationId": "string",
"integrationServiceId": "string",
"name": "string",
"description": "string",
"devEui": "string",
"updatedAtDateString": "string",
"updatedAt": 0
}
}
{
"data": {
"id": "a-24e124535b312345",
"organizationId": "o-organizationId",
"integrationServiceId": "is-integrationServiceId",
"name": "IDT-Bot",
"description": "IDT-Bot-Description",
"devEui": "24e124535b312345",
"updatedAtDateString": "2024-01-31T00:00:00.000Z",
"updatedAt": 1706659200000
}
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
The input data has invalid.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The input data has invalid.
message stringrequired
The input data has invalid message.
{
"error": "string",
"message": "string"
}
{
"error": "ValidationError",
"message": "Input data validation failed."
}
Loading...