# Remove Vendor User

`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_at` is set to the current time.
- If the user is on a different plan than your vendor account, their plan and their `premium_expires_at` are 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

- `200` Successful Response
- `400` Bad Request
- `401` Unauthorized
- `403` Forbidden
- `404` Not Found
- `422` Validation Error
- `429` Too Many Requests
- `500` Internal Server Error
- `503` Service Unavailable
