DELETE /api/pleroma/admin/users now accepts nicknames array
This commit is contained in:
+10
-1
@@ -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: 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`
|
||||
|
||||
Reference in New Issue
Block a user