You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
835 B
YAML
32 lines
835 B
YAML
3 years ago
|
delete:
|
||
|
tags:
|
||
|
- chats
|
||
|
summary: remove one user from chat room
|
||
|
description: This operation removes (kicks) a single user from a chat room
|
||
|
parameters:
|
||
|
- in: path
|
||
|
name: roomId
|
||
|
schema:
|
||
|
type: number
|
||
|
required: true
|
||
|
description: a valid chat room id
|
||
|
example: 1
|
||
|
- in: path
|
||
|
name: uid
|
||
|
schema:
|
||
|
type: number
|
||
|
required: true
|
||
|
description: a valid user id
|
||
|
example: 4
|
||
|
responses:
|
||
|
'200':
|
||
|
description: user successfully removed from chat room
|
||
|
content:
|
||
|
application/json:
|
||
|
schema:
|
||
|
type: object
|
||
|
properties:
|
||
|
status:
|
||
|
$ref: ../../../../components/schemas/Status.yaml#/Status
|
||
|
response:
|
||
|
$ref: ../../../../components/schemas/Chats.yaml#/RoomUserList
|