diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-10-06 09:23:19 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-10-06 09:23:19 +0100 |
commit | 78a3f43d9d6be03c16ea478671e45de7d3a7dcea (patch) | |
tree | 08f94b8baf4497a63f92f2ed77b75730932ea260 /docs | |
parent | More spec work. (diff) | |
download | synapse-78a3f43d9d6be03c16ea478671e45de7d3a7dcea.tar.xz |
swagger: Added DELETE method for directory server.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/client-server/swagger_matrix/api-docs-directory | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/client-server/swagger_matrix/api-docs-directory b/docs/client-server/swagger_matrix/api-docs-directory index ce12be8c96..5dda580658 100644 --- a/docs/client-server/swagger_matrix/api-docs-directory +++ b/docs/client-server/swagger_matrix/api-docs-directory @@ -48,6 +48,22 @@ "paramType": "body" } ] + }, + { + "method": "DELETE", + "summary": "Removes a mapping of room alias to room ID.", + "notes": "Only privileged users can perform this action.", + "type": "void", + "nickname": "remove_room_alias", + "parameters": [ + { + "name": "roomAlias", + "description": "The room alias to remove.", + "required": true, + "type": "string", + "paramType": "path" + } + ] } ] } |