Add M_NOT_FOUND definition for deleting non-existent aliases

Fixes https://github.com/matrix-org/matrix-doc/issues/1675
pull/977/head
Travis Ralston 6 years ago
parent 5c268ef21f
commit d52fcdacfa

@ -148,5 +148,14 @@ paths:
} }
schema: schema:
type: object type: object
404:
description: There is no mapped room ID for this room alias.
examples:
application/json: {
"errcode": "M_NOT_FOUND",
"error": "Room alias #monkeys:example.org not found."
}
schema:
"$ref": "definitions/errors/error.yaml"
tags: tags:
- Room directory - Room directory

@ -0,0 +1 @@
Add ``M_NOT_FOUND`` error definition for deleting room aliases.
Loading…
Cancel
Save