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

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

@ -99,6 +99,15 @@ paths:
}
schema:
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:
description: This request was rate-limited.
schema:

Loading…
Cancel
Save