Update user quotas
PATCH
Update quota configurations for a specific user
header
X-API-Key<token>API key authentication using X-API-Key header
userId*numberapplication/json- body
quotaType?QuotaTypeQuota window, the current day, a rolling run of days, or a monthly period from the configured reset day
Value in
"daily""weekly_rolling""monthly"quotaLimit?integerRange
1 <= value <= 1000bypassApproval?booleanwatchlistCap?|nullDefault Response
application/json- response
success*booleanmessage*stringuserQuotas*A user's movie and show quotas, each absent when not set
curl -X PATCH 'http://localhost:3003/v1/quota/users/0' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "success": true, "message": "string", "userQuotas": { "userId": 0, "movieQuota": { "userId": 0, "contentType": "movie", "quotaType": "daily", "quotaLimit": 0, "bypassApproval": true, "watchlistCap": 0 }, "showQuota": { "userId": 0, "contentType": "movie", "quotaType": "daily", "quotaLimit": 0, "bypassApproval": true, "watchlistCap": 0 } }}