User
Delete Account
DELETE /v1/api/user/deleteme
DELETE https://api.torbox.app/v1/api/user/deleteme
- Operation ID:
delete_account - Group: User
- Auth: API key,
Authorization: Bearer <api key>(Sign in with TorBox gives the same key)
Overview
Permanently deletes the user's TorBox account. This cannot be undone.
Because of how dangerous this action is, it needs two things on top of the API key: the user's session token from the website, and a confirmation code, which is sent to the user's email by the Get Confirmation Code endpoint.
Authorization
Requires an API key using the Authorization Bearer Header, as well as the session token and the confirmation code in the body.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
session_token | string | yes | The user's session token from the website. It must belong to the same account as the API key. |
confirmation_code | integer | yes | The confirmation code that was sent to the user's email by the Get Confirmation Code endpoint. |
Responses
200Successful Response400Bad Request401Unauthorized403Forbidden404Not Found410Gone422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable