Skip to main content
POST
Bulk Delete Users
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/user/bulk/delete Description: The /user/bulk/delete endpoint allows administrators to delete multiple users in bulk by providing a list of user IDs. Authorization:
  • Required role: owner only
Method: POST Request Payload:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
ids
string[]
required

An array of user IDs to be deleted in bulk

Response

success

message
string
processedCount
integer
failedDeletions
object[]
skipped
object[]