Bulk quota operations
PATCH
Perform bulk quota operations on multiple users (update or delete)
header
X-API-Key<token>API key authentication using X-API-Key header
Quotas to set on, or delete from, several users at once
application/json- body
Quotas to set on, or delete from, several users at once
userIds*array<number>Items
1 <= items <= 100operation*stringValue 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
Default Response
application/json- response
success*booleanmessage*stringprocessedCount*numberfailedIds?array<number>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 ]}