Usenet
Control Usenet Download
POST /v1/api/usenet/controlusenetdownload
POST https://api.torbox.app/v1/api/usenet/controlusenetdownload
- Operation ID:
control_usenet_download - Group: Usenet
- Auth: API key,
Authorization: Bearer <api key>(Sign in with TorBox gives the same key)
Overview
Controls a usenet download. By sending the usenet download's ID and the type of operation you want to perform, it will send that request to the usenet client.
Operations are either:
- Delete
deletes the nzb from the client and your account permanently
Authorization
Requires an API key using the Authorization Bearer Header.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
operation | string | yes | the operation you want to perform on the usenet download. Can be "delete", "pause" or "resume". |
usenet_id | integer | no | the usenet download's id, optional if using the "all" parameter. |
all | boolean | no | if you want to do this operation to all usenet downloads in your account, optional if using the "usenet_id" parameter |
Responses
200Successful Response400Bad Request401Unauthorized403Forbidden404Not Found422Validation Error429Too Many Requests500Internal Server Error503Service Unavailable