删除会议

删除一个日程。

请求参数:

Parameters Type/Value Require Description
scheduleId [string] 日程唯一标示

请求例子:

  • 通过CDN方式引入使用
    <script src="https://cdn.jsdelivr.net/npm/umeet-js-sdk@1.0.16/UmeetJsSdk.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    // 删除会议
    function removeMeeting() {
     UmeetJsSdk.removeMeeting(scheduleId, function (res) {
       console.log(res)
       if (res.status === 200) {
       } else {
         console.log(res.data.message)
       }
     })
    }
    </script>
    
  • 通过NPM引入使用
    import UmeetJsSdk from 'umeet-js-sdk';
    // 删除会议
    removeMeeting () {
    let that = this;
    UmeetJsSdk.removeMeeting(that.scheduleId).then(res => {
     if (res.status === 200) {
       console.log(res)
     } else {
       console.log(res.data.message)
     }
    })
    }
    

响应结果:

请求成功时,http status code =200,响应体内容如下:

如:

{
  status: 200,
  data: ''
}

请求失败时,http status code = 500,响应体内容如下:

Parameters Type/Value Description
timestamp [string] 错误发生日期
errorCode [string] 错误码
message [string] 错误信息描述

results matching ""

    No results matching ""

    results matching ""

      No results matching ""