Release a static address
The project's sandboxes stop leaving from it.
DELETE/v1/static-addresses/{static_address_id}
The project's sandboxes stop leaving from it. It cools for 30 days before anyone else may be given it, and the project may take it back meanwhile by asking for an address at the same site. A repeat answers the address as it is.
A key with the network:write scope.
Request
curl -X DELETE "https://api.pod.mapier.ai/v1/static-addresses/sip_3ahrz6dmv29gqy5ckt18fpx4b" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
static_address_id | path | string | Yes | |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Answer
200. The address, cooling.
{
"id": "sip_3ahrz6dmv29gqy5ckt18fpx4b",
"address": "example",
"site": "example",
"project_id": "prj_3ahrz6dmv29gqy5ckt18fp",
"state": "assigned",
"assigned_at": null,
"cooling_until": null
}| Field | Type | Always | What it is |
|---|---|---|---|
id | string | Yes | |
address | string | Yes | The public IPv4 or IPv6 address. |
site | string | Yes | A site the cell runs at; the catalog's regions names them. |
project_id | string | Yes | |
state | "assigned" | "cooling" | Yes | Treat a value you do not know as not assigned. |
assigned_at | string | null | Yes | |
cooling_until | string | null | Yes |
Errors
The refusals this call is known for: forbidden, not_found. 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.staticAddresses.release(id) |
| Python | pod.network.static_addresses.release(id) |