Add draft Account Management API
Mainly for SPEC-50
This commit is contained in:
parent
c068dd414e
commit
af3baef164
1 changed files with 30 additions and 0 deletions
|
@ -387,6 +387,36 @@ ordering information needs to be preserved as well.
|
|||
An improvement would be to allow the client to not automatically share
|
||||
updates of their profile information to all rooms.
|
||||
|
||||
Account Management API ``[Draft]``
|
||||
----------------------------------
|
||||
Users may wish to delete their account, revoke access tokens, manage
|
||||
their devices, etc. This is achieved using an account management API.
|
||||
|
||||
Deleting an account:
|
||||
|
||||
Inputs:
|
||||
- User ID to delete
|
||||
- Auth key (e.g. access_token of user, of server admin, etc)
|
||||
Output:
|
||||
- None.
|
||||
|
||||
Viewing access tokens related to this account:
|
||||
|
||||
Inputs:
|
||||
- User ID
|
||||
- Auth key (e.g. access_token of user, of server admin, etc)
|
||||
Output:
|
||||
- A list of access tokens (+ last used / creation date / device / user-agent?)
|
||||
|
||||
Removing an access token:
|
||||
|
||||
Inputs:
|
||||
- User ID
|
||||
- Auth key (e.g. access_token of user, of server admin, etc)
|
||||
- Access token to revoke.
|
||||
Output:
|
||||
- None.
|
||||
|
||||
Action APIs
|
||||
-----------
|
||||
The following APIs are "action APIs". This is defined to be a request which
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue