Update provider details
curl --request PUT \
--url https://{domain}/api/application/services/{service}/details/{section} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "billing.example.com",
"ip_address": "203.0.113.40"
}
'import requests
url = "https://{domain}/api/application/services/{service}/details/{section}"
payload = {
"domain": "billing.example.com",
"ip_address": "203.0.113.40"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domain: 'billing.example.com', ip_address: '203.0.113.40'})
};
fetch('https://{domain}/api/application/services/{service}/details/{section}', 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://{domain}/api/application/services/{service}/details/{section}",
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([
'domain' => 'billing.example.com',
'ip_address' => '203.0.113.40'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://{domain}/api/application/services/{service}/details/{section}"
payload := strings.NewReader("{\n \"domain\": \"billing.example.com\",\n \"ip_address\": \"203.0.113.40\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://{domain}/api/application/services/{service}/details/{section}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"domain\": \"billing.example.com\",\n \"ip_address\": \"203.0.113.40\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{domain}/api/application/services/{service}/details/{section}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"domain\": \"billing.example.com\",\n \"ip_address\": \"203.0.113.40\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"provider": {
"key": "LicenseService",
"name": "License",
"description": "Manage license key, domain, and IP address settings"
},
"service": {
"id": 880,
"name": "Spartan Ultimate",
"status": "active",
"created_at": "2026-11-14T16:08:41.000000Z",
"updated_at": "2026-11-16T14:33:50.000000Z"
},
"editable_sections": [
"license"
],
"sections": [
{
"key": "license",
"label": "License Details",
"data": {
"id": 87,
"license_key": "SPARTAN-7F3K-29QD-M4XW-81PL",
"domain": "billing.example.com",
"ip_address": "203.0.113.40",
"is_active": true,
"extra_licenses": [],
"last_rotated": null,
"last_seen_at": null,
"last_seen_ip": null,
"hwid_devices": 0,
"user_id": 2,
"product_id": 64,
"service_id": 880,
"created_at": "2026-11-14T16:08:43Z",
"updated_at": "2026-11-16T14:33:50Z"
},
"fields": [
{
"key": "license_key",
"label": "License Key",
"type": "monospace"
},
{
"key": "domain",
"label": "Domain",
"type": "text"
}
],
"editFields": [
{
"key": "license_key",
"label": "License Key",
"type": "monospace",
"readOnly": false,
"required": true
},
{
"key": "domain",
"label": "Domain",
"type": "text",
"readOnly": false,
"placeholder": "example.com"
}
],
"arrayFields": [
{
"key": "extra_licenses",
"label": "Extra Licenses",
"nameField": "name",
"valueField": "key",
"fallbackLabel": "License",
"valueType": "monospace"
}
],
"emptyState": {
"icon": "🔑",
"title": "No License Data",
"description": "No license information available for this service."
},
"editConfigFields": [],
"editable": true,
"update_endpoint": "/services/880/details/license"
}
]
},
"message": "Service details updated.",
"meta": {
"request_id": "2fccfded-c5f0-4edc-b6b4-c6c4aa8b7255"
}
}Service details
Update provider details
Updates one section of the provider data. Only fields the section lists as editable are accepted; others return 422. Rate limited to 20 requests per minute per IP.
Permission: services.details.write
Rate limit: 20 requests per minute per IP.
PUT
/
services
/
{service}
/
details
/
{section}
Update provider details
curl --request PUT \
--url https://{domain}/api/application/services/{service}/details/{section} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "billing.example.com",
"ip_address": "203.0.113.40"
}
'import requests
url = "https://{domain}/api/application/services/{service}/details/{section}"
payload = {
"domain": "billing.example.com",
"ip_address": "203.0.113.40"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domain: 'billing.example.com', ip_address: '203.0.113.40'})
};
fetch('https://{domain}/api/application/services/{service}/details/{section}', 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://{domain}/api/application/services/{service}/details/{section}",
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([
'domain' => 'billing.example.com',
'ip_address' => '203.0.113.40'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://{domain}/api/application/services/{service}/details/{section}"
payload := strings.NewReader("{\n \"domain\": \"billing.example.com\",\n \"ip_address\": \"203.0.113.40\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://{domain}/api/application/services/{service}/details/{section}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"domain\": \"billing.example.com\",\n \"ip_address\": \"203.0.113.40\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{domain}/api/application/services/{service}/details/{section}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"domain\": \"billing.example.com\",\n \"ip_address\": \"203.0.113.40\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"provider": {
"key": "LicenseService",
"name": "License",
"description": "Manage license key, domain, and IP address settings"
},
"service": {
"id": 880,
"name": "Spartan Ultimate",
"status": "active",
"created_at": "2026-11-14T16:08:41.000000Z",
"updated_at": "2026-11-16T14:33:50.000000Z"
},
"editable_sections": [
"license"
],
"sections": [
{
"key": "license",
"label": "License Details",
"data": {
"id": 87,
"license_key": "SPARTAN-7F3K-29QD-M4XW-81PL",
"domain": "billing.example.com",
"ip_address": "203.0.113.40",
"is_active": true,
"extra_licenses": [],
"last_rotated": null,
"last_seen_at": null,
"last_seen_ip": null,
"hwid_devices": 0,
"user_id": 2,
"product_id": 64,
"service_id": 880,
"created_at": "2026-11-14T16:08:43Z",
"updated_at": "2026-11-16T14:33:50Z"
},
"fields": [
{
"key": "license_key",
"label": "License Key",
"type": "monospace"
},
{
"key": "domain",
"label": "Domain",
"type": "text"
}
],
"editFields": [
{
"key": "license_key",
"label": "License Key",
"type": "monospace",
"readOnly": false,
"required": true
},
{
"key": "domain",
"label": "Domain",
"type": "text",
"readOnly": false,
"placeholder": "example.com"
}
],
"arrayFields": [
{
"key": "extra_licenses",
"label": "Extra Licenses",
"nameField": "name",
"valueField": "key",
"fallbackLabel": "License",
"valueType": "monospace"
}
],
"emptyState": {
"icon": "🔑",
"title": "No License Data",
"description": "No license information available for this service."
},
"editConfigFields": [],
"editable": true,
"update_endpoint": "/services/880/details/license"
}
]
},
"message": "Service details updated.",
"meta": {
"request_id": "2fccfded-c5f0-4edc-b6b4-c6c4aa8b7255"
}
}Authorizations
Path Parameters
Body
application/json
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Section server.
Was this page helpful?

