Remove a registered private range

A policy grant inside it stops working at once.

DELETE/v1/private-ranges/{range_id}

A policy grant inside it stops working at once. A range a proxy's address is in is conflict: replace or remove the proxy first.

A key with the network:write scope.

Request

curl -X DELETE "https://api.pod.mapier.ai/v1/private-ranges/prg_3ahrz6dmv29gqy5ckt18fpx4b" \
  -H "Authorization: Bearer $POD_API_KEY"

Parameters

NameInTypeRequiredWhat it is
range_idpathstringYes
Idempotency-KeyheaderstringNoMakes a repeat of this call safe for 24 hours.

Answer

204. Removed.

Errors

The refusals this call is known for: forbidden, not_found, conflict. 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

ClientCall
TypeScriptpod.network.privateRanges.remove(id)
Pythonpod.network.private_ranges.remove(id)