/3pid/delete and /deactivate don't take an id_access_token
This commit is contained in:
parent
8f48b4e717
commit
001c51a740
2 changed files with 8 additions and 10 deletions
|
@ -176,6 +176,10 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
Removes a third party identifier from the user's account. This might not
|
Removes a third party identifier from the user's account. This might not
|
||||||
cause an unbind of the identifier from the identity server.
|
cause an unbind of the identifier from the identity server.
|
||||||
|
|
||||||
|
Unlike other endpoints, this endpoint does not take an ``id_access_token``
|
||||||
|
parameter because the homeserver is expected to sign the request to the
|
||||||
|
identity server instead.
|
||||||
operationId: delete3pidFromAccount
|
operationId: delete3pidFromAccount
|
||||||
security:
|
security:
|
||||||
- accessToken: []
|
- accessToken: []
|
||||||
|
@ -193,11 +197,6 @@ paths:
|
||||||
homeserver does not know the original ``id_server``, it MUST return
|
homeserver does not know the original ``id_server``, it MUST return
|
||||||
a ``id_server_unbind_result`` of ``no-support``.
|
a ``id_server_unbind_result`` of ``no-support``.
|
||||||
example: "example.org"
|
example: "example.org"
|
||||||
id_access_token:
|
|
||||||
type: string
|
|
||||||
description: |-
|
|
||||||
An access token previously registered with the identity server. Required
|
|
||||||
if an ``id_server`` is specified.
|
|
||||||
medium:
|
medium:
|
||||||
type: string
|
type: string
|
||||||
description: The medium of the third party identifier being removed.
|
description: The medium of the third party identifier being removed.
|
||||||
|
|
|
@ -519,6 +519,10 @@ paths:
|
||||||
|
|
||||||
The homeserver may change the flows available depending on whether a
|
The homeserver may change the flows available depending on whether a
|
||||||
valid access token is provided.
|
valid access token is provided.
|
||||||
|
|
||||||
|
Unlike other endpoints, this endpoint does not take an ``id_access_token``
|
||||||
|
parameter because the homeserver is expected to sign the request to the
|
||||||
|
identity server instead.
|
||||||
security:
|
security:
|
||||||
- accessToken: []
|
- accessToken: []
|
||||||
operationId: deactivateAccount
|
operationId: deactivateAccount
|
||||||
|
@ -542,11 +546,6 @@ 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"
|
||||||
id_access_token:
|
|
||||||
type: string
|
|
||||||
description: |-
|
|
||||||
An access token previously registered with the identity server. Required if an
|
|
||||||
``id_server`` is supplied.
|
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: The account has been deactivated.
|
description: The account has been deactivated.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue