POST
/
subscription
/
dnr
curl --request POST \
  --url https://api.altostrat.io/content/subscription/dnr \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "action": "create",
  "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "signature": "<string>",
  "metadata": {
    "site_id": "c3d4e5f6-a7b8-9012-3456-7890abcdef01",
    "ip_address": "100.64.10.5",
    "policy_id": "e5f6a7b8-c9d0-1234-5678-90abcdef0123"
  }
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "ip_address": "127.0.0.1",
  "created_at": "07 Apr 2025 09:00:21",
  "policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "policy_name": "<string>",
  "dnr_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dns_subscription_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dns_online": true,
  "dnr_online": true,
  "dnr_policy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dnr_policy_name": "<string>"
}

Authorizations

Authorization
string
header
required

Enter the Bearer token (obtained via authentication or provided internally).

Body

application/json

Response

201
application/json

Subscription 'create' handled successfully.

The response is of type object.