List the registered private ranges of your own cell
Newest first.
GET/v1/private-ranges
Newest first. Empty in Pod's own cells, and for any organization but the cell's owner.
A key with the network:read scope.
Request
curl "https://api.pod.mapier.ai/v1/private-ranges" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
limit | query | integer | No | |
cursor | query | string | No | The next_cursor of the page before. Valid for 24 hours. |
Answer
200. A page of ranges, newest first.
{
"data": [
{
"id": "prg_3ahrz6dmv29gqy5ckt18fpx4b",
"cidr": "example",
"label": "example",
"created_at": null,
"created_by": "example"
}
],
"next_cursor": null
}| Field | Type | Always | What it is |
|---|---|---|---|
data | PrivateRange[] | Yes | |
next_cursor | string | null | Yes |
Errors
The refusals this call is known for: invalid, forbidden. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.
In the SDKs
| Client | Call |
|---|---|
| TypeScript | pod.network.privateRanges.list() |
| Python | pod.network.private_ranges.list() |