Last Updated on : 2023-06-15 05:47:30
This topic describes the APIs of Edit Seat.
Edit the information about a specified seat.
PUT: /v1.0/iot-03/seats/{seat_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
seat_id | String | uri | true | The seat ID. |
req | SeatModifyReq | body | true | The request of editing a specific seat. |
Description of req
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
seat_no | String | false | The seat number. | |
remark | String | false | Seat introduction. | |
type | String | false | The seat type. | |
device_categories | List |
false | The list of device types that are bound with the seat. | |
image_url | String | false | The seat image. | |
status | String | false | The status of a specified seat. |
Parameter name | Type | Description |
---|---|---|
result | Boolean | The result of editing a specified seat. |
PUT: /v1.0/iot-03/seats/1401807768616247xxx
{
"seat_no": "hula32",
"remark": "Test of seat editing",
"device_categories": [
"cz"
],
"type": "fixed",
"image_url": "www.tuya.com",
"status": "enable"
}
{
"result": true,
"t": 1623052379558,
"success": true
}
See Error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback