Add local user erasure requests (#1730)
* Add local user erasure requests As per MSC4025. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add changelog Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> * Add default value Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr> --------- Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
2cb70e6e3d
commit
afda8b8f74
2 changed files with 21 additions and 0 deletions
1
changelogs/client_server/newsfragments/1730.feature
Normal file
1
changelogs/client_server/newsfragments/1730.feature
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add local erasure requests, as per [MSC4025](https://github.com/matrix-org/matrix-spec-proposals/pull/4025).
|
|
@ -614,6 +614,26 @@ paths:
|
||||||
it must return an `id_server_unbind_result` of
|
it must return an `id_server_unbind_result` of
|
||||||
`no-support`.
|
`no-support`.
|
||||||
example: example.org
|
example: example.org
|
||||||
|
erase:
|
||||||
|
x-addedInMatrixVersion: "1.10"
|
||||||
|
type: boolean
|
||||||
|
description: |-
|
||||||
|
Whether the user would like their content to be erased as
|
||||||
|
much as possible from the server.
|
||||||
|
|
||||||
|
Erasure means that any users (or servers) which join the
|
||||||
|
room after the erasure request are served redacted copies of
|
||||||
|
the events sent by this account. Users which had visibility
|
||||||
|
on those events prior to the erasure are still able to see
|
||||||
|
unredacted copies. No redactions are sent and the erasure
|
||||||
|
request is not shared over federation, so other servers
|
||||||
|
might still serve unredacted copies.
|
||||||
|
|
||||||
|
The server should additionally erase any non-event data
|
||||||
|
associated with the user, such as [account data](/client-server-api/#client-config)
|
||||||
|
and [contact 3PIDs](/client-server-api/#adding-account-administrative-contact-information).
|
||||||
|
|
||||||
|
Defaults to `false` if not present.
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue