Line Management
Suspend Line
Temporarily disable access for a line.
PUT
/
v1
/
lines
/
suspend
Suspend Line
curl --request PUT \
--url https://api.reselliptv.com/v1/lines/suspend \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>"
}
'import requests
url = "https://api.reselliptv.com/v1/lines/suspend"
payload = {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: '3c90c3cc-0d44-4b50-8888-8dd25736052a', username: '<string>'})
};
fetch('https://api.reselliptv.com/v1/lines/suspend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reselliptv.com/v1/lines/suspend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'username' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.reselliptv.com/v1/lines/suspend"
payload := strings.NewReader("{\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"username\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.reselliptv.com/v1/lines/suspend")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"username\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reselliptv.com/v1/lines/suspend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"username\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"hostname": "<string>",
"username": "<string>",
"password": "<string>",
"label": "<string>",
"enabled": true,
"connections": 123,
"is_trial": true,
"exp_date": "2026-05-15T15:13:02.991Z",
"start_date": "2026-05-15T15:13:02.992Z",
"created_at": "2026-05-15T15:13:02.992Z",
"macaddress": "<string>",
"parental_code": "<string>"
}{
"code": "request_errors",
"message": "Request error occurred.",
"data": {
"errors": [
{
"code": "<string>",
"message": "<string>",
"path": [
"<string>"
]
}
]
}
}{
"code": "not_authorized",
"message": "Not authorized to perform this action."
}{
"code": "line_not_found",
"message": "Line not found."
}{
"code": "rate_limit",
"message": "Rate limit exceeded."
}{
"code": "server_error",
"message": "Internal server error occurred.",
"requestId": "<string>"
}Authorizations
API Key
Body
application/json
Response
Ok: Line suspended
Date of expiration of the line.
Example:
"2026-05-15T15:13:02.991Z"
Starting date of the line (Creation date or Extension date if the line has been extended).
Example:
"2026-05-15T15:13:02.992Z"
Initial creation date of the line.
Example:
"2026-05-15T15:13:02.992Z"
Last modified on May 22, 2026
⌘I
Suspend Line
curl --request PUT \
--url https://api.reselliptv.com/v1/lines/suspend \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>"
}
'import requests
url = "https://api.reselliptv.com/v1/lines/suspend"
payload = {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: '3c90c3cc-0d44-4b50-8888-8dd25736052a', username: '<string>'})
};
fetch('https://api.reselliptv.com/v1/lines/suspend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reselliptv.com/v1/lines/suspend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'username' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.reselliptv.com/v1/lines/suspend"
payload := strings.NewReader("{\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"username\": \"<string>\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.reselliptv.com/v1/lines/suspend")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"username\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reselliptv.com/v1/lines/suspend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"username\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"hostname": "<string>",
"username": "<string>",
"password": "<string>",
"label": "<string>",
"enabled": true,
"connections": 123,
"is_trial": true,
"exp_date": "2026-05-15T15:13:02.991Z",
"start_date": "2026-05-15T15:13:02.992Z",
"created_at": "2026-05-15T15:13:02.992Z",
"macaddress": "<string>",
"parental_code": "<string>"
}{
"code": "request_errors",
"message": "Request error occurred.",
"data": {
"errors": [
{
"code": "<string>",
"message": "<string>",
"path": [
"<string>"
]
}
]
}
}{
"code": "not_authorized",
"message": "Not authorized to perform this action."
}{
"code": "line_not_found",
"message": "Line not found."
}{
"code": "rate_limit",
"message": "Rate limit exceeded."
}{
"code": "server_error",
"message": "Internal server error occurred.",
"requestId": "<string>"
}