Vendors
Remove Vendor User
DELETE /v1/api/vendors/removeuser
DELETE https://api.torbox.app/v1/api/vendors/removeuser
- Operation ID:
remove_vendor_user - Group: Vendors
- Auth: API key,
Authorization: Bearer <api key>(Sign in with TorBox gives the same key)
Overview
Removes a user from your vendor account. The user must be owned by your vendor account. The user's TorBox account is not deleted, it is only released from the vendor, even though the detail of the response reads "User deleted successfully."
What happens to the user's plan depends on the plan they are on when they are removed:
- If the user is on the same plan as your vendor account, the user is moved to the free plan (plan 0) and their
premium_expires_atis set to the current time. - If the user is on a different plan than your vendor account, their plan and their
premium_expires_atare left as they are.
Your vendor account's current_users is lowered by one, and the user receives a notification that they were removed from the vendor.
Rate Limits
This endpoint is rate limited to 1 request per second per API token.
Authorization
Requires an API key using the Authorization Bearer Header. Works with an API key from any plan, including the free plan.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
user_auth_id | query | string | yes | Auth id of the user to remove, from the Get Vendor Users endpoint. Required. |
Responses
200Successful Response400Bad Request401Unauthorized403Forbidden404Not Found422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable