ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiUsers

Bulk delete users

DELETE
/api/v1/users/bulk

Permanently deletes multiple users by their IDs.

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Request Body

application/json
  1. body
ids*array<string>

Array of user UUIDs

Response Body

Users have been successfully deleted.

response?unknownapplication/json
Example Request
curl -X DELETE 'http://localhost:3001/api/v1/users/bulk' \  -H 'Content-Type: application/json' \  -d '{  "ids": [    "550e8400-e29b-41d4-a716-446655440000",    "550e8400-e29b-41d4-a716-446655440001"  ]}'
Example Response200
{  "status": "success",  "statusCode": 200,  "message": "Successfully deleted 2 user(s)",  "data": {    "affected": 2  },  "meta": {    "requested": 2,    "affected": 2,    "operation": "delete"  },  "timestamp": "2026-01-27T10:55:00.000Z",  "path": "/api/v1/users/bulk"}