Hangup a Channel
This request hangs up a channel and ends the linked phone call subsiquently.
A user may only hang up his/her own channels.
Resource
POST /channels/[channel-ID]/hangup
Parameters
None
Payload
None
Response
None
Context
Authorization |
User |
Errors
HTTP code | Xelion code | Description |
---|---|---|
403 |
10101 |
If it’s not a user’s channel and the user is not an Xelion administrator. |
Examples
Hangup the specified channel.
Request
GET https://xelion.nl/api/v1/master/channels/1536579412.274/hangup
Response
None