Access Subnets
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| Core CRUD | ||
| GET | /api/access-subnets/ |
List access subnets |
| GET | /api/access-subnets/{uuid}/ |
Retrieve access subnet |
| POST | /api/access-subnets/ |
Create an access subnet |
| PUT | /api/access-subnets/{uuid}/ |
Update an access subnet |
| PATCH | /api/access-subnets/{uuid}/ |
Partially update an access subnet |
| DELETE | /api/access-subnets/{uuid}/ |
Delete an access subnet |
| Other Actions | ||
| GET | /api/access-subnets/resource_impact/ |
Show which resources the access subnets reach |
Core CRUD
List access subnets
Retrieve a list of access subnets. Staff and support users can see all subnets, while other users can only see subnets associated with customers they have a role in.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
access_subnets_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
applies_to_portal |
boolean | Applies to portal |
customer |
string (uri) | Customer URL |
customer_uuid |
string (uuid) | Customer UUID |
description |
string | Description |
inet |
string | Inet |
is_staff_managed |
boolean | Is staff managed |
o |
string | Which field to use when ordering the results. |
offering_uuid |
string (uuid) | Offering UUID |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
inet |
string | |
description |
string | |
customer |
string (uri) | |
applies_to_portal |
boolean | Whether this network may sign in to the portal on behalf of the organization. Off by default: any portal-scoped entry restricts sign-in for everyone in the organization. |
offerings |
array of string (uuid)s | UUIDs of offerings this network may reach. Only offerings the organization consumes and that enable access subnets are accepted. |
scoped_offerings |
array of objects | |
scoped_offerings.uuid |
string | |
scoped_offerings.name |
string | |
scoped_offerings.has_live_resources |
boolean | |
is_staff_managed |
boolean | Set when staff created the entry. Such entries are read-only for everyone else, regardless of mask width. |
Retrieve access subnet
Fetch the details of a specific access subnet by its UUID.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
access_subnets_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
inet |
string | |
description |
string | |
customer |
string (uri) | |
applies_to_portal |
boolean | Whether this network may sign in to the portal on behalf of the organization. Off by default: any portal-scoped entry restricts sign-in for everyone in the organization. |
offerings |
array of string (uuid)s | UUIDs of offerings this network may reach. Only offerings the organization consumes and that enable access subnets are accepted. |
scoped_offerings |
array of objects | |
scoped_offerings.uuid |
string | |
scoped_offerings.name |
string | |
scoped_offerings.has_live_resources |
boolean | |
is_staff_managed |
boolean | Set when staff created the entry. Such entries are read-only for everyone else, regardless of mask width. |
Create an access subnet
Create a new access subnet for a customer.
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
AccessSubnetRequest - API Source:
access_subnets_create
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
| Field | Type | Required | Description |
|---|---|---|---|
inet |
string | ✓ | |
description |
string | ||
customer |
string (uri) | ✓ | |
applies_to_portal |
boolean | Whether this network may sign in to the portal on behalf of the organization. Off by default: any portal-scoped entry restricts sign-in for everyone in the organization. | |
offerings |
array of string (uuid)s | UUIDs of offerings this network may reach. Only offerings the organization consumes and that enable access subnets are accepted. |
201 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
inet |
string | |
description |
string | |
customer |
string (uri) | |
applies_to_portal |
boolean | Whether this network may sign in to the portal on behalf of the organization. Off by default: any portal-scoped entry restricts sign-in for everyone in the organization. |
offerings |
array of string (uuid)s | UUIDs of offerings this network may reach. Only offerings the organization consumes and that enable access subnets are accepted. |
scoped_offerings |
array of objects | |
scoped_offerings.uuid |
string | |
scoped_offerings.name |
string | |
scoped_offerings.has_live_resources |
boolean | |
is_staff_managed |
boolean | Set when staff created the entry. Such entries are read-only for everyone else, regardless of mask width. |
Update an access subnet
Update an existing access subnet.
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
- Model Source:
AccessSubnetRequest - API Source:
access_subnets_update
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required | Description |
|---|---|---|---|
inet |
string | ✓ | |
description |
string | ||
customer |
string (uri) | ✓ | |
applies_to_portal |
boolean | Whether this network may sign in to the portal on behalf of the organization. Off by default: any portal-scoped entry restricts sign-in for everyone in the organization. | |
offerings |
array of string (uuid)s | UUIDs of offerings this network may reach. Only offerings the organization consumes and that enable access subnets are accepted. |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
inet |
string | |
description |
string | |
customer |
string (uri) | |
applies_to_portal |
boolean | Whether this network may sign in to the portal on behalf of the organization. Off by default: any portal-scoped entry restricts sign-in for everyone in the organization. |
offerings |
array of string (uuid)s | UUIDs of offerings this network may reach. Only offerings the organization consumes and that enable access subnets are accepted. |
scoped_offerings |
array of objects | |
scoped_offerings.uuid |
string | |
scoped_offerings.name |
string | |
scoped_offerings.has_live_resources |
boolean | |
is_staff_managed |
boolean | Set when staff created the entry. Such entries are read-only for everyone else, regardless of mask width. |
Partially update an access subnet
Partially update an existing access subnet.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
- Model Source:
PatchedAccessSubnetRequest - API Source:
access_subnets_partial_update
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required | Description |
|---|---|---|---|
inet |
string | ||
description |
string | ||
applies_to_portal |
boolean | Whether this network may sign in to the portal on behalf of the organization. Off by default: any portal-scoped entry restricts sign-in for everyone in the organization. | |
offerings |
array of string (uuid)s | UUIDs of offerings this network may reach. Only offerings the organization consumes and that enable access subnets are accepted. |
200 -
| Field | Type | Description |
|---|---|---|
uuid |
string (uuid) | |
inet |
string | |
description |
string | |
customer |
string (uri) | |
applies_to_portal |
boolean | Whether this network may sign in to the portal on behalf of the organization. Off by default: any portal-scoped entry restricts sign-in for everyone in the organization. |
offerings |
array of string (uuid)s | UUIDs of offerings this network may reach. Only offerings the organization consumes and that enable access subnets are accepted. |
scoped_offerings |
array of objects | |
scoped_offerings.uuid |
string | |
scoped_offerings.name |
string | |
scoped_offerings.has_live_resources |
boolean | |
is_staff_managed |
boolean | Set when staff created the entry. Such entries are read-only for everyone else, regardless of mask width. |
Delete an access subnet
Delete an existing access subnet.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
access_subnets_destroy
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
204 - No response body
Other Actions
Show which resources the access subnets reach
For each of the organization's live resources of an offering that supports access subnets, the addresses that may reach it, where each came from, and whether the list is enforced or merely advisory. Resources of offerings without access subnet support are omitted: no allow-list can apply to them. Pass access_subnet_uuid to narrow it to the resources one address reaches.
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
access_subnets_resource_impact_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required | Description |
|---|---|---|---|
access_subnet_uuid |
string (uuid) | Limit to the resources this one address reaches. | |
customer_uuid |
string (uuid) | ✓ | Organization whose resources to report on. |
200 -
| Field | Type |
|---|---|
resources |
array of objects |
resources.resource_uuid |
string |
resources.resource_name |
string |
resources.project_name |
string |
resources.offering_uuid |
string |
resources.offering_name |
string |
resources.concealment_enabled |
boolean |
resources.unrestricted |
boolean |
resources.addresses |
array of objects |
resources.addresses.inet |
string |
resources.addresses.description |
string |
resources.addresses.source |
string |
resources.addresses.is_staff_managed |
boolean |
resources.packed |
array of strings |