File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ # MSC2526: Add ability to delete key backups
2+
3+ [ MSC1219] ( https://github.com/matrix-org/matrix-doc/issues/1219 ) defined a
4+ mechanism for key backups. However, it inadvertently omitted the endpoint to
5+ delete an entire key backup. This proposal adds the endpoint.
6+
7+ ## Proposal
8+
9+ An endpoint is added, ` DELETE /room_keys/version/{version} ` , that deletes a
10+ backup version. Both the information about the key backup, as well as all keys
11+ associated with the backup should be deleted. If the specified version was
12+ previously deleted, the endpoint succeeds, returning an HTTP code of 200. If
13+ the specified version never existed, the endpoint returns an HTTP code of 404
14+ with a Matrix ` errcode ` of ` M_NOT_FOUND ` .
You can’t perform that action at this time.
0 commit comments