Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (22 loc) · 1.36 KB

File metadata and controls

32 lines (22 loc) · 1.36 KB

Delete Channel

Remove a public channel.

HTTP MethodURLRequires Auth
POST/api/v1/channels.deleteyes

Body Parameters

KeyExample ValueDescription
roomId* or roomName*ByehQjC44FwMeiLbX or generalThe channel ID or name that you want to delete. You must enter at least one of the parameters.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type: application/json" \
     https://localhost:3000/api/v1/channels.delete \
     -d '{ 
          "roomName": "channelname" }'

Example Response

{
   "success": true
}

Change Log

VersionDescription
0.71.0Removed channel property
0.49.0Added