Update Vendor Account
PUT /v1/api/vendors/updateaccount
PUT https://api.torbox.app/v1/api/vendors/updateaccount
- Operation ID:
update_vendor_account - Group: Vendors
- Auth: API key,
Authorization: Bearer <api key>(Sign in with TorBox gives the same key)
Overview
Updates the name, the URL, or both, of your vendor account. Send at least one of vendor_name and vendor_url. The one that is not sent is left as it is.
The vendor_url follows the same rule as on the Register Vendor endpoint: it must start with http:// or https:// and be a domain with an optional path. A URL with a port, a query string or a fragment is rejected, and the request then changes nothing.
The response is the updated vendor account, in the same shape and with the same detail as the Get Vendor Account endpoint.
Rate Limits
This endpoint is rate limited to 15 requests per hour 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.
Request body (application/x-www-form-urlencoded)
| Field | Type | Required | Description |
|---|---|---|---|
vendor_name | string | no | New name of the vendor. Optional, but at least one of vendor_name and vendor_url must be sent. |
vendor_url | string | no | New website of the vendor. Must start with http:// or https:// and cannot contain a port, a query string or a fragment. Optional, but at least one of vendor_name and vendor_url must be sent. |
Responses
200Successful Response400Bad Request401Unauthorized403Forbidden404Not Found422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable