1
0

DELETE /api/pleroma/admin/users now accepts nicknames array

This commit is contained in:
Maxim Filippov
2019-10-15 17:33:29 +02:00
34 changed files with 431 additions and 112 deletions
+10 -1
View File
@@ -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
@@ -56,6 +56,15 @@ Authentication is required and the user must be an admin.
- `nickname`
- Response: Users nickname
## `DELETE /api/pleroma/admin/users`
### Remove a user
- Method `DELETE`
- Params:
- `nicknames`
- Response: Array of user nicknames
### Create a user
- Method: `POST`