Home / Docs Center / Device API Reference / Disconnect

Disconnect

Device API Reference · Intercom Camera WebRTC API · Playback

Project: Device Interface Document (New Version) | page_id: 1009

Brief Description:

  • Disconnect and release resources

Request URL:
- /xsw/api/p2p/disconnect

Request Method:
- POST

URL Parameters:

Parameter Name Required Type Description
sessionId Yes string The sessionId obtained in the first step

Return Example

  {
        "code": 0,
        "msg": "",
  }

Return Parameter Description

Parameter Name Type Description
code int Status code. 0 means success, others mean failure
msg string Failure message

Notes

  • None
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.