Bulk delete users
post
Authorizations
defguard_sessionstringRequired
Body
usersinteger · int64[]Required
Responses
200
Users deleted.
No content
400
The list contains unknown user IDs or your own account.
application/json
401
Session is missing or invalid.
application/json
403
Requires admin privileges.
application/json
500
Unable to delete users.
application/json
post/api/v1/user/bulk-delete
POST /api/v1/user/bulk-delete HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"users": [
1,
4,
6,
23,
35
]
}No content
Last updated
Was this helpful?