ScanopyScanopy
Subnets

Bulk confirm assumed ranges

Confirms several assumed subnet ranges, as saving each one unchanged would: the subnet and its range become Manual. Every subnet is checked before any is confirmed, and the request is refused if one is missing, outside the caller's sites, already settled, or a shared range.

POST
/api/v1/subnets/bulk-confirm

Authorization

Authorization<token>

User API key (Bearer scp_u_...). Create in Platform > API Keys.

In: header

Request Body

application/json

IDs of the assumed subnets to confirm

TypeScript Definitions

Use the request body type in TypeScript.

[index: integer]?string

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/subnets/bulk-confirm" \  -H "Content-Type: application/json" \  -d '[    "497f6eca-6276-4993-bfeb-53cbbbba6f08"  ]'
{
  "meta": {
    "api_version": 1,
    "server_version": "0.20.1"
  },
  "success": true,
  "data": [
    {
      "cidr": "192.168.1.0/24",
      "cidr_source": "DaemonSelfReport",
      "created_at": "2026-01-15T10:30:00Z",
      "description": "Local area network",
      "first_discovery_id": null,
      "id": "550e8400-e29b-41d4-a716-446655440004",
      "last_discovery_id": null,
      "last_seen_at": "2026-01-15T10:30:00Z",
      "lineage_id": null,
      "name": "LAN",
      "name_source": "Unspecified",
      "site_id": "550e8400-e29b-41d4-a716-446655440002",
      "source": {
        "type": "Manual"
      },
      "subnet_type": "Lan",
      "subnet_type_source": "Unspecified",
      "tags": [],
      "updated_at": "2026-01-15T10:30:00Z",
      "valid_from": "2026-01-15T10:30:00Z",
      "valid_to": null,
      "virtualization_service_id": null,
      "vlan_ids": []
    }
  ],
  "error": "string"
}
{
  "meta": {
    "api_version": 1,
    "server_version": "0.20.1"
  },
  "success": true,
  "code": "string",
  "error": "string",
  "params": {
    "property1": null,
    "property2": null
  }
}
{
  "meta": {
    "api_version": 1,
    "server_version": "0.20.1"
  },
  "success": true,
  "code": "string",
  "error": "string",
  "params": {
    "property1": null,
    "property2": null
  }
}