swagger: Added DELETE method for directory server.

This commit is contained in:
Kegan Dougal 2014-10-06 09:23:19 +01:00
parent 02a44664b9
commit 78a3f43d9d
1 changed files with 16 additions and 0 deletions

View File

@ -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"
}
]
}
]
}