Pulsarr

Bulk quota operations

PATCH
/v1/quota/users/bulk

Perform bulk quota operations on multiple users (update or delete)

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Request Body

Quotas to set on, or delete from, several users at once

application/json
  1. body

Quotas to set on, or delete from, several users at once

userIds*array<number>
Items1 <= items <= 100
operation*string
Value in"update""delete"
movieQuota?

One content type quota for a user, switched on with its settings or switched off

showQuota?

One content type quota for a user, switched on with its settings or switched off

Response Body

Default Response

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