Document the error code when someone tries to forget a room they are in

pull/1378/head
Travis Ralston 6 years ago
parent a19bbc8089
commit 436b410698

@ -99,6 +99,15 @@ paths:
} }
schema: schema:
type: object type: object
400:
description: The user has not left the room
examples:
application/json: {
"errcode": "M_UNKNOWN",
"error": "User @example:matrix.org is in room !au1ba7o:matrix.org"
}
schema:
"$ref": "definitions/error.yaml"
429: 429:
description: This request was rate-limited. description: This request was rate-limited.
schema: schema:

Loading…
Cancel
Save