Last Updated on : 2025-01-02 03:06:07download
Enable or disable cloud storage and save the status.
POST: /v1.0/cloud/ipc/{device_id}/storage/switch/status/save
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | path | true | The device ID. |
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
home_id | Long | body | true | The home ID. |
switch_status | Boolean | body | true | The enabling status. Valid values:
|
Parameter name | Type | Description |
---|---|---|
success | Boolean | Indicates whether the operation is successful. Valid values:
|
code | String | The error code. For more information, see the Global Error Codes. |
msg | String | The message that is returned if the request fails. It is empty if the request is successful. |
result | Boolean | The returned result. |
POST: /v1.0/cloud/ipc/6c4478c****3e752d9chvw/storage/switch/status/save
{
"home_id": 123456,
"switch_status": true
}
{
"tid": "d61c6974c****1efbb08769169332025",
"result": true,
"t": 1735630111740,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback