Vendors
Refresh Vendor Users
PATCH /v1/api/vendors/refresh
PATCH https://api.torbox.app/v1/api/vendors/refresh
- Operation ID:
refresh_vendor_users - Group: Vendors
- Auth: API key,
Authorization: Bearer <api key>(Sign in with TorBox gives the same key)
Overview
Refreshes every user that is owned by your vendor account. Each user's plan is set to your vendor account's plan, and each user's premium_expires_at is set to your vendor account's paid_until. Your vendor account's current_users is then recounted from the users it owns.
Your vendor account must be active: approved (its status is no longer "pending"), on a paid plan (its plan is not 0) and with a paid_until date that has not passed. Otherwise the request is rejected and no user is changed.
This endpoint takes no parameters and returns no data.
Authorization
Requires an API key using the Authorization Bearer Header. Works with an API key from any plan, including the free plan.
Responses
200Successful Response401Unauthorized403Forbidden404Not Found429Too Many Requests500Internal Server Error503Service Unavailable