Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions rooms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5564,39 +5564,6 @@ paths:
success: true
'401':
$ref: '#/components/responses/authorizationError'
/api/v1/rooms.leave:
post:
tags:
- Rooms
summary: Leave Room
description: |-
Leave a room. The following permissions are required:
* `leave-c`: To leave a public room.
* `leave-p`: To leave private room.

### Changelog
| Version | Description |
| ------- | --------------|
| 0.72.0 | Added |
operationId: post-api-v1-rooms.leave
parameters:
- $ref: '#/components/parameters/Auth-Token'
- $ref: '#/components/parameters/UserId'
requestBody:
content:
application/json:
schema:
type: object
properties:
roomId:
type: string
example: ByehQjC44FwMeiLbX
description: The room ID that you want to leave.
responses:
'200':
$ref: '#/components/responses/trueSuccess'
'401':
$ref: '#/components/responses/authorizationError'
/api/v1/rooms.delete:
post:
tags:
Expand Down