mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
docs(api): 📝 Document API parameter to change username
This commit is contained in:
parent
cfa0ab4ac9
commit
70a669a29c
2 changed files with 19 additions and 3 deletions
|
|
@ -61,4 +61,11 @@ An extra attribute has been adding to all returned account objects:
|
|||
|
||||
### `roles`
|
||||
|
||||
An array of roles from [Lysand Roles](./roles.md).
|
||||
An array of roles from [Lysand Roles](./roles.md).
|
||||
|
||||
### `/api/v1/accounts/update_credentials`
|
||||
|
||||
The `username` parameter can now (optionally) be set to change the user's handle.
|
||||
|
||||
> [!WARNING]
|
||||
> Clients should indicate to users that changing their handle will break existing links to their profile. This is reversible, but the old handle will be available for anyone to claim.
|
||||
Loading…
Add table
Add a link
Reference in a new issue