projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DELETE /api/pleroma/admin/users now accepts nicknames array
[akkoma]
/
docs
/
API
/
admin_api.md
diff --git
a/docs/API/admin_api.md
b/docs/API/admin_api.md
index 2c8237b57f3bbf1c78964cd437d9171f45fc56b7..60755e40a755053773683483289c1463588fd5b1 100644
(file)
--- a/
docs/API/admin_api.md
+++ b/
docs/API/admin_api.md
@@
-47,7
+47,7
@@
Authentication is required and the user must be an admin.
}
```
}
```
-##
`
/api/pleroma/admin/users`
+##
DEPRECATED `DELETE
/api/pleroma/admin/users`
### Remove a user
### Remove a user
@@
-56,6
+56,15
@@
Authentication is required and the user must be an admin.
- `nickname`
- Response: User’s nickname
- `nickname`
- Response: User’s nickname
+## `DELETE /api/pleroma/admin/users`
+
+### Remove a user
+
+- Method `DELETE`
+- Params:
+ - `nicknames`
+- Response: Array of user nicknames
+
### Create a user
- Method: `POST`
### Create a user
- Method: `POST`