summary refs log tree commit diff
path: root/docs/client-server
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-10-06 09:23:19 +0100
committerKegan Dougal <kegan@matrix.org>2014-10-06 09:23:19 +0100
commit78a3f43d9d6be03c16ea478671e45de7d3a7dcea (patch)
tree08f94b8baf4497a63f92f2ed77b75730932ea260 /docs/client-server
parentMore spec work. (diff)
downloadsynapse-78a3f43d9d6be03c16ea478671e45de7d3a7dcea.tar.xz
swagger: Added DELETE method for directory server.
Diffstat (limited to 'docs/client-server')
-rw-r--r--docs/client-server/swagger_matrix/api-docs-directory16
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"
+            }
+          ]
         }
       ]
     }