mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-06 19:54:09 +01:00
document error codes and remove a statement that isn't true
This commit is contained in:
parent
0b39308a13
commit
bac9afa124
|
|
@ -8,7 +8,7 @@ delete an entire key backup. This proposal adds the endpoint.
|
||||||
|
|
||||||
An endpoint is added, `DELETE /room_keys/version/{version}`, that deletes a
|
An endpoint is added, `DELETE /room_keys/version/{version}`, that deletes a
|
||||||
backup version. Both the information about the key backup, as well as all keys
|
backup version. Both the information about the key backup, as well as all keys
|
||||||
associated with the backup should be deleted. Like `POST
|
associated with the backup should be deleted. If the specified version was
|
||||||
/room_keys/version/{version}`, and unlike `GET /room_keys/version/{version}`,
|
previously deleted, the endpoint succeeds, returning an HTTP code of 200. If
|
||||||
`{version}` cannot be empty, to ensure that the wrong backup is not
|
the specified version never existed, the endpoint returns an HTTP code of 404
|
||||||
accidentally deleted.
|
with a Matrix `errcode` of `M_NOT_FOUND`.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue