Leave Group

Prev Next
Post
/api/v1/groups.leave

Leave a private channel. The group owner must set another owner before leaving the group. Permission required: leave-p

Version Description
0.48.0 Added
Header parameters
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Body parameters
object
roomId
string

The group ID that you want to leave.

ExampleByehQjC44FwMeiLbX
Responses
200
401

OK

Collapse all
object
group
object
_id
string
name
string
t
string
usernames
Array of string
string
msgs
integer
u
object
ts
string
ro
boolean
sysMes
boolean
_updatedAt
string
success
boolean