@ -488,9 +488,13 @@ paths:
"400" :
"400" :
description : |-
description : |-
The third-party identifier is already in use on the homeserver, or
The third-party identifier is already in use on the homeserver, or
the request was invalid. The error code `M_SERVER_NOT_TRUSTED`
the request was invalid. Error codes that can be returned are:
can be returned if the server does not trust/support the identity server
* `M_THREEPID_IN_USE` : The email supplied cannot be bound because is is already
provided in the request.
associated with a different Matrix ID.
* `M_SERVER_NOT_TRUSTED` : The server does not trust/support the identity server
provided in the request.
* `M_THREEPID_MEDIUM_NOT_SUPPORTED` : The homeserver does not support adding email addresses.
* `M_INVALID_PARAM` : The email address given was not valid.
content:
content:
application/json:
application/json:
schema:
schema:
@ -547,9 +551,12 @@ paths:
"400" :
"400" :
description : |-
description : |-
The third-party identifier is already in use on the homeserver, or
The third-party identifier is already in use on the homeserver, or
the request was invalid. The error code `M_SERVER_NOT_TRUSTED`
the request was invalid. Error codes that can be returned are:
can be returned if the server does not trust/support the identity server
* `M_THREEPID_IN_USE` : The phone number supplied cannot be bound because is is already
provided in the request.
associated with a different Matrix ID.
* `M_SERVER_NOT_TRUSTED` : The server does not trust/support the identity server
* `M_THREEPID_MEDIUM_NOT_SUPPORTED` : The homeserver does not support adding phone numbers.
* `M_INVALID_PARAM` : The phone number given was not valid.
content:
content:
application/json:
application/json:
schema:
schema: