From bd4fab7a15e9086473714fd9d54656b396212467 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Mon, 18 Mar 2019 09:28:46 +0000 Subject: [PATCH] Be more explicit identity server selection and errors --- proposals/1915-unbind-identity-server-param.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/proposals/1915-unbind-identity-server-param.md b/proposals/1915-unbind-identity-server-param.md index 8dbfe2e6c..438dfa44f 100644 --- a/proposals/1915-unbind-identity-server-param.md +++ b/proposals/1915-unbind-identity-server-param.md @@ -21,12 +21,13 @@ Add an `id_server` param to `POST /_matrix/client/r0/account/3pid/delete` API, which matches the 3PID creation APIs. The new `id_server` parameter is optional and if missing the server will attempt -to unbind from a suitable identity server (e.g. its default identity server or -the server used when originally binding the 3pid). +to unbind from the identity server used when originally binding the 3pid (if +known by the homeserver). The 200 response is a JSON object with an `id_server_unbind_result` field whose value is either `success` or `no-support`, where the latter indicates that the -identity server (IS) does not support unbinding 3PIDs directly. +identity server (IS) does not support unbinding 3PIDs directly. If the identity +server returns an error than that should be returned to the client. Example: