Delete multiple users
DELETE/panel/users
Deletes several users at once, matching them by ID.
Your own user ID is silently removed from the list before deletion, so you can never delete yourself through this endpoint; passing your own ID is a no-op rather than an error.
Request
Responses
- 200
- 401
- 403
success is the number of users actually deleted (an integer), not a boolean. An empty list, a list containing only your own ID, or a list of IDs that match no users all return {"success": 0}.
The bearer token is missing, malformed, unknown, or expired.
The token is valid, but the user it belongs to may not perform this action:
- they are not a member of the
{workspace}in the path; or - their workspace role is too low for this endpoint (write routes require Admin or Member); or
- for
/panelendpoints, they are not a platform administrator.
The host application that Mixpost is installed into can also deny access to Mixpost as a whole, which produces the same response.