mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-10 15:43:09 -06:00
adding a warning regarding access_token
This commit is contained in:
parent
a0b48f3858
commit
97869b182b
|
|
@ -20,6 +20,7 @@ curl --header "Authorization: Bearer <access_token>" -X <POST|GET|PUT> <Endpoint
|
|||
```
|
||||
|
||||
An `access_token` can be obtained through most Element-based matrix clients by going to `Settings` -> `Help & About` -> `Advanced` -> `Access Token`.
|
||||
Be aware that an `access_token` allows a client to perform actions as an user and should be kept **secret**.
|
||||
|
||||
The user must be an administrator in the `account_accounts` table in order to use these endpoints.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue