Pulsarr

Bulk update users

PATCH
/v1/users/bulk

Update multiple users with the same changes in bulk

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Request Body

application/json
  1. body
userIds*array<number>
Items1 <= items
updates*

Response Body

Default Response

application/json
  1. response
success*boolean
message*string
updatedCount*number
failedIds?array<number>
Example Request
curl -X PATCH 'http://localhost:3003/v1/users/bulk' \  -H 'Content-Type: application/json' \  -d '{  "userIds": [    0  ],  "updates": {}}'
Example Response
{  "success": true,  "message": "string",  "updatedCount": 0,  "failedIds": [    0  ]}