# editSiriShortcut ^7.8
编辑场景Siri Shortcut
# 请求参数
| Prop | Type | Default | Comment | 
|---|---|---|---|
| homegroupId | String | N/A | 家庭ID | 
| sceneId | String | N/A | 场景ID | 
# 接口调用示例
const params = {
    "homegroupId": "家庭ID",
    "sceneId": "场景ID"
}
this.$bridge
  .editSiriShortcut(params)
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })
 1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
# 接口返回示例
{
    "editType": "delete/cacel/update",
    "invocationPhrase": "更新后的语音"
}
 1
2
3
4
5
6
2
3
4
5
6