1. API Description
api request domain name:
iot.cloud.tencent.com/api/exploreropen/tokenapi.
This interface (AppModifyRoom) is used to modify a room.2. Input Parameters
Name | Type | Required | Description |
AccessToken | String | Yes | Common parameter. AccessToken is used for user authentication of a logged-in user. |
RequestId | String | Yes | Common parameter. Unique request ID can be generated manually. It is recommended to use uuid. Locating issues, you need to provide the RequestId for the request. |
Action | String | Yes | Common parameter. This interface takes values: AppModifyRoom. |
FamilyId | String | Yes | Family ID that the room to be modified belongs to. |
Name | String | No | Room name. |
RoomId | String | Yes | Room ID that needs to be modified. |
3. Output Parameter
Name | Type | Description |
RequestId | String | Common parameter. Unique request ID, consistent with the input parameter. Locating issues, you need to provide the RequestId for the request. |
4. Samples
Input Example
POST https://iot.cloud.tencent.com/api/exploreropen/tokenapi HTTP/1.1content-type: application/json{"RequestId": "req_1","Action": "AppModifyRoom","FamilyId":"fa070f59a2fe4****43815310c794fdf","RoomId":"5","Name":"TestName","AccessToken": "8b4a70dd16105f******************18edd4e78a3bb8ec"}
Output sample: successful
{"Response": {"RequestId": "req_1"}}
5. Error Code
Error Code | Description |
InternalError | Internal error. |
InvalidParameterValue | Invalid parameter value. |
InvalidParameterValue.InvalidAccessToken | The Token is invalid. |